Skip to content

Conversation

@ds54e
Copy link
Contributor

@ds54e ds54e commented Nov 1, 2025

Fixes #116

Previously, macros like the following expanded incorrectly:

`define REAL(name, suffix=) real name``suffix;

This change updates the parser to correctly handle empty defaults.

@dalance
Copy link
Owner

dalance commented Nov 1, 2025

Thank you for your contribution!
I'll merge this PR.

@dalance dalance merged commit c7cff42 into dalance:master Nov 1, 2025
1 check passed
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.

Macro with empty default argument fails to expand correctly

2 participants