forked from ijt/cmakelists_parsing
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bug in parsing.py #3
Comments
Yes this seems to cause an attribute error.
Example file which it fails to parse (sorry its not minimal):
|
arjo129
added a commit
to arjo129/parse_cmake
that referenced
this issue
Nov 16, 2020
Open
OK found the lines which this si having difficulty parsing
Seems like the parsing logic is off somewhere. The current "command" abstraction doesn't seem to be able to handle this type of input :( . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In:
parse_cmake/parse_cmake/parsing.py
Line 236 in 51daaef
Where we read "comment=None" shouldn't it be "comment=[]"?
As it is right now, I foresee the possibility of an error in:
parse_cmake/parse_cmake/parsing.py
Line 252 in 51daaef
The text was updated successfully, but these errors were encountered: