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

Better handling of spaces in preprocessor directives #404

Merged
merged 1 commit into from
May 23, 2024
Merged

Conversation

laurentlb
Copy link
Owner

@laurentlb laurentlb commented May 23, 2024

There's a bit of complexity to handle:
#define foo(x)
vs
#define foo (x)

With this commit, we now remove a few superfluous spaces, and we also preserve the space in
#define foo .2

Fixes #401

There's a bit of complexity to handle:
#define foo(x)
vs
#define foo (x)

With this commit, we now remove a few superfluous spaces, and we also preserve the space in
#define foo .2

Fixes #401
@laurentlb laurentlb merged commit d0fefb2 into master May 23, 2024
1 check passed
@laurentlb laurentlb deleted the define branch May 23, 2024 23:35
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

Successfully merging this pull request may close these issues.

#define SIZE .03
2 participants