From dfe5442c4608a075a49b7a9798245987c95f6cd5 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 29 Sep 2009 14:51:33 +0200 Subject: [PATCH] Bug in move_variables. Version:1.1.29 --- README | 2 +- src/parsed_text.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 4878d11..dcefdcb 100644 --- a/README +++ b/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 diff --git a/src/parsed_text.py b/src/parsed_text.py index 6d11285..dea76ad 100644 --- a/src/parsed_text.py +++ b/src/parsed_text.py @@ -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]