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

enums in binary templates are documented to support trailing comma, but don't actually support that #216

Closed
wilcoxjay opened this issue Oct 8, 2023 · 1 comment
Labels
Milestone

Comments

@wilcoxjay
Copy link

The first example of an enum in a binary template from the manual is

enum simple_enum_type
{
	ENUM_ONE,
	ENUM_TWO,
	ENUM_THREE,
};

with a trailing comma after ENUM_THREE, but I couldn't get this to work. I get a parse error at the close brace.

@solemnwarning
Copy link
Owner

Thanks for pointing that out! Fixed.

@solemnwarning solemnwarning added this to the 0.60.2 milestone Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants