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

[preproc] support C23 enum underlying type syntax #2043

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

mrgriffin
Copy link
Collaborator

Introduces support for the C23 underlying type enum syntax. We wouldn't be able to use that syntax with agbcc, but it's potentially helpful for projects which exclusively use make modern (e.g. Expansion from v1.10 onward).

The do-while loop is to support things like enum : unsigned char { ... };, albeit I don't expect we'll see anything like that in practice.

@GriffinRichards
Copy link
Member

I'm ignoring the build failure here -- it's not the PR, it's just that the runner's OS updated to Ubuntu 24.04 (which broke some assumptions about libpng that are now fixed)

@GriffinRichards GriffinRichards merged commit fcc067e into pret:master Oct 11, 2024
1 check failed
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.

2 participants