mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 04:13:33 +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:
|
Web Site:
|
||||||
http://sourceforge.net/apps/mediawiki/irpf90/
|
http://irpf90.sourceforge.net
|
||||||
|
|
||||||
Author:
|
Author:
|
||||||
Anthony Scemama, LCPQ-IRSAMC, CNRS-Universite Paul Sabatier
|
Anthony Scemama, LCPQ-IRSAMC, CNRS-Universite Paul Sabatier
|
||||||
|
@ -302,7 +302,7 @@ def move_variables():
|
|||||||
elif type(line) in [ Endif, End_select ]:
|
elif type(line) in [ Endif, End_select ]:
|
||||||
varlist = old_varlist.pop()
|
varlist = old_varlist.pop()
|
||||||
elif type(line) == Provide_all:
|
elif type(line) == Provide_all:
|
||||||
vars = varlist
|
vars += varlist
|
||||||
elif type(line) in [ End_provider, End ]:
|
elif type(line) in [ End_provider, End ]:
|
||||||
assert old_varlist == []
|
assert old_varlist == []
|
||||||
varlist = []
|
varlist = []
|
||||||
@ -367,7 +367,7 @@ parsed_text = result
|
|||||||
######################################################################
|
######################################################################
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
for i in range(len(parsed_text)):
|
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])
|
print '!-------- %s -----------'%(parsed_text[i][0])
|
||||||
for line in parsed_text[i][1]:
|
for line in parsed_text[i][1]:
|
||||||
print line[1]
|
print line[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user