10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-10-10 10:01:40 +02:00

Bug in move_variables.

Version:1.1.29
This commit is contained in:
Anthony Scemama 2009-09-29 14:51:33 +02:00
parent 5bafb278b1
commit dfe5442c46
2 changed files with 3 additions and 3 deletions

2
README
View File

@ -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

View File

@ -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]