Closed MonliH closed 5 years ago
Nevermind. I solved it. It turns out that I forgot to put an @_()
statment before one of my grammar definitions. Here was the error:
# There should be a @_("id") statment here
def expression(self, p):
return p.id
I recently got this error on Ubuntu 18.04:
This is intersting because a few mothns ago when I was working on this project, I did not have this problem. I have not changed any of the source code since then. I am on python 3. The start of my
chain_parser.py
file looks something like this:I have looked online but as far as I can tell, no one has gotten this issue before...
All help would be appreciated.