travellhyne / f2py

Automatically exported from code.google.com/p/f2py
Other
0 stars 0 forks source link

A bug? parser.analyze() caused error in r58 #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In rev58, I did
    reader = FortranFileReader(ffile)
    reader.set_mode(isfree=False,isstrict=False)
    parser=FortranParser(reader,ignore_comments=False)
    parser.parse()
    parser.analyze()
where ffile is bndfp.F, which I attatched in Issue 21.
In other words, I just insered line parser.analyze() in Issue 21.
Then it ends up with
   AttributeError: 'Line' object has no attribute 'analyze'.

Original issue reported on code.google.com by TakaoKot...@gmail.com on 1 May 2010 at 5:41