mirror of
https://gitlab.com/scemama/irpf90.git
synced 2025-01-03 01:55:42 +01:00
Fix toucher 2.
This commit is contained in:
parent
3084774791
commit
bab16c1e34
@ -507,14 +507,14 @@ def build_needs(parsed_text, subroutines, stuple, variables):
|
||||
# - Create the pointer copy
|
||||
# - Add the value (so it add also to the pointer reference...)
|
||||
|
||||
# for v in variables:
|
||||
# main = variables[v].same_as
|
||||
# if main != v:
|
||||
# variables[v].needed_by = variables[main].needed_by
|
||||
for v in variables:
|
||||
main = variables[v].same_as
|
||||
if main != v:
|
||||
variables[v].needed_by = variables[main].needed_by
|
||||
|
||||
for v in variables:
|
||||
var = variables[v]
|
||||
# if var.is_main:
|
||||
if var.is_main:
|
||||
for x in var.needs:
|
||||
variables[x].needed_by.append(var.name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user