[IronPython] error in parser module

Roman Yakovenko roman.yakovenko at actimize.com
Sat Aug 14 22:28:38 PDT 2004


reproducible code:

if __name__ == '__main__':
    print 'hello world' 

hint: don't insert whitespace or new lines after
'hello world', file should consist from 2 lines only

patch:

Fix should be done in IronPython.AST.Parser.parseSuite.
The condition of while shoud be changed to: read until EOF extracted


P.S. Code was not post because Jim could not accept
any patches right now. He is working hard to solve
this problem. Anyway if someone needs code - turn to
me and I will send patch to you

Roman.


More information about the users-ironpython.com mailing list