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

#define improperly parsed #184

Closed
Arcnor opened this issue May 31, 2017 · 3 comments
Closed

#define improperly parsed #184

Arcnor opened this issue May 31, 2017 · 3 comments
Labels

Comments

@Arcnor
Copy link

Arcnor commented May 31, 2017

For some strange reason, the following #define is incorrectly parsed:

#define TESTING = "Testing::"

...generates...

public static final String TESTING =";

If you change the number of colons to be less than 2, it generates correctly. Anything >= 2, it breaks in the described way.

@saudet
Copy link
Member

saudet commented Jun 6, 2017

I've fixed the issue with the "::" substring in the commit above, but it still won't work in this case because the = token is not a string. We need to forget about translating that macro into a variable.

@saudet
Copy link
Member

saudet commented Jul 27, 2017

Fix released in version 1.3.3. Thanks for reporting!

@saudet saudet closed this as completed Jul 27, 2017
@Arcnor
Copy link
Author

Arcnor commented Jul 27, 2017

Awesome, thanks for fixing!

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

No branches or pull requests

2 participants