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

Invalid #pragma parsing #206

Closed
AlexBAV opened this issue Jan 30, 2024 · 2 comments
Closed

Invalid #pragma parsing #206

AlexBAV opened this issue Jan 30, 2024 · 2 comments

Comments

@AlexBAV
Copy link

AlexBAV commented Jan 30, 2024

After #188 the following source code is parsed incorrectly by Boost.Wave:

#pragma some(some)
#include "path"

The line end at the end of pragma line is "eaten" and next token after right paren returned is literally #include "path". Adding another newline after the #pragma line fixes this.

This started in boost 1.84.0, apparently after #188.

@AlexBAV
Copy link
Author

AlexBAV commented Jan 30, 2024

Sorry for reporting, duplicate of #200.

@AlexBAV AlexBAV closed this as completed Jan 30, 2024
@jefftrull
Copy link
Collaborator

Sorry about the problem, hope you are able to use our develop branch until 1.85 is released.

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