-
Notifications
You must be signed in to change notification settings - Fork 38
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
Exception thrown when parsing the header file in Microsoft SDK #46
Comments
Definitely a bug. I don't really have an interest in fixing this myself (lots of stuff going on), but I can provide guidance for debugging/fixing this if you would like to fix it and make a PR. In particular, I find that setting the environment variable CPPHEADERPARSER_DEBUG=1 is really useful for figuring out what the parser is doing. I imagine that this isn't the only piece in the SDK that would cause problems. Might try just commenting out that enum and see what else breaks. |
The following code has the same parsing error: evaluating '': unexpected '', expected ';' After I modified the following code, the program can run normally: |
@liuyongbao1982 That looks like a different parse error to me. If you open a PR though with your change and a test, we'd be happy to take your change, since that's also a bug. |
This is detailed exception information:
The text was updated successfully, but these errors were encountered: