C11py raises 'is a Keyword, but is used as a Symbol' error

Issue #3 new
Alexander Smagin
created an issue

Hello, I wanted to try your C parser, but it doesn't work with last version of pyPEG. It raises "is a Keyword, but is used as a Symbol" error. I have no idea why it can raised.

fdik-pyc11-b8b786bd2a0b>PYTHon -i c11.py Traceback (most recent call last): File "c11.py", line 58, in <module> K("_Thread_local") File "c:\Python34\lib\site-packages\pypeg2__init.py", line 392, in init super(Enum, self).setitem(thing, thing) File "c:\Python34\lib\site-packages\pypeg2__init.py", line 344, in setitem name = Symbol(key) File "c:\Python34\lib\site-packages\pypeg2__init.py", line 436, in init__ + " is a Keyword, but is used as a Symbol") ValueError: Keyword('auto') is a Keyword, but is used as a Symbol

Could you help with it?

Comments (2)

  1. Log in to comment