2010/4/18 Terrence Cole <[email protected]>: > In pypy/interpreter/pyparser/metaparser.py in get_first on line 233: > the name 'symbol' is undefined. > > I hit this when parsing the python grammar from the 3.1.2 release. > Oddly, the current py3k trunk does not hit this. I'll dig more to see > if I can figure out why the grammar is causing this, but the error > handling here is obviously bogus, so I thought I'd go ahead and report > it.
This is because the 3.1.2 grammar is incorrect, and CPython's parser generator accepts it. See http://svn.python.org/view?view=rev&revision=75080. It's safe to use the py3k branch one, since it hasn't changed. -- Regards, Benjamin _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
