Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tokens not defined in evalexpr_string #206

Closed
Stewie055 opened this issue May 13, 2019 · 1 comment
Closed

tokens not defined in evalexpr_string #206

Stewie055 opened this issue May 13, 2019 · 1 comment

Comments

@Stewie055
Copy link

ply/ply/cpp.py

Line 658 in dca6c60

self.error(self.source,tokens[0].lineno,"Couldn't evaluate expression")

this line will raise a NameError Exception

@dabeaz
Copy link
Owner

dabeaz commented May 13, 2019

cpp.py is an incomplete portion of code that's not used by the rest of PLY nor is it documented. Not surprised there are errors in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants