alex / rply

An attempt to port David Beazley's PLY to RPython, and give it a cooler API.
BSD 3-Clause "New" or "Revised" License
381 stars 60 forks source link

Adjust to rsre_core API change in lexergenerator.py #88

Closed ghost closed 5 years ago

ghost commented 5 years ago

I was having an issue when trying to iterate over a LexerStream, where RPython was throwing a horrendous error as rsre_core.StrMatchContext wasn't getting enough arguments to init, and match_context was getting one too many arguments. A very simply change was made and my problem was solved.

alex commented 5 years ago

For future reference can you include a link to the RPython commit that changed this API as a comment on this PR?

alex commented 5 years ago

It looks like you accidentally checked in the build/ directory, please remove it.