mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-21 11:53:32 +01:00
Bug in move_variables.
Version:1.1.29
This commit is contained in:
parent
5bafb278b1
commit
dfe5442c46
2
README
2
README
@ -26,7 +26,7 @@ Now you can start to program using irpf90.
|
||||
|
||||
|
||||
Web Site:
|
||||
http://sourceforge.net/apps/mediawiki/irpf90/
|
||||
http://irpf90.sourceforge.net
|
||||
|
||||
Author:
|
||||
Anthony Scemama, LCPQ-IRSAMC, CNRS-Universite Paul Sabatier
|
||||
|
@ -302,7 +302,7 @@ def move_variables():
|
||||
elif type(line) in [ Endif, End_select ]:
|
||||
varlist = old_varlist.pop()
|
||||
elif type(line) == Provide_all:
|
||||
vars = varlist
|
||||
vars += varlist
|
||||
elif type(line) in [ End_provider, End ]:
|
||||
assert old_varlist == []
|
||||
varlist = []
|
||||
@ -367,7 +367,7 @@ parsed_text = result
|
||||
######################################################################
|
||||
if __name__ == '__main__':
|
||||
for i in range(len(parsed_text)):
|
||||
if parsed_text[i][0] == 'vmc_step.irp.f':
|
||||
if parsed_text[i][0] == 'libqcio_groups.irp.f':
|
||||
print '!-------- %s -----------'%(parsed_text[i][0])
|
||||
for line in parsed_text[i][1]:
|
||||
print line[1]
|
||||
|
Loading…
Reference in New Issue
Block a user