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

Include option for #undef for Windows #16

Closed
svengiegerich opened this issue Mar 29, 2023 · 2 comments
Closed

Include option for #undef for Windows #16

svengiegerich opened this issue Mar 29, 2023 · 2 comments

Comments

@svengiegerich
Copy link

svengiegerich commented Mar 29, 2023

Within the package pytsql, we encountered an issue when using speedy-antlr-tool on Windows:
👉 conflicting (uppercase) verbs with Window specific macro's.

Luckily the fix was relatively easy, at least in our case: adding #undef(see #undef) to the auto-generated *Lexer.h.

@svengiegerich svengiegerich changed the title Include #undef for Windows Include option for #undef for Windows Mar 29, 2023
@amykyta3
Copy link
Owner

I'm not sure i understand what the specific request or issue is.

If there is an issue with the auto-generated *Lexer.h file, that is not created by this tool. Those files are generated by ANTLR, whose issue page can be found here: https://github.com/antlr/antlr4/issues

@svengiegerich
Copy link
Author

Ah, I see; I could have guessed from the comment included in the file (but was not sure whether the tool may modify the file). Thanks for the reply, and sorry for bothering!

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