Skip to content

Better handling of spaces in preprocessor directives#404

Merged
laurentlb merged 1 commit intomasterfrom
define
May 23, 2024
Merged

Better handling of spaces in preprocessor directives#404
laurentlb merged 1 commit intomasterfrom
define

Conversation

@laurentlb
Copy link
Copy Markdown
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
@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