Skip to content

Conversation

sookach
Copy link
Contributor

@sookach sookach commented Jun 9, 2024

Fixes #1097

source/parse.h Outdated
@@ -8506,7 +8507,10 @@ class parser
// Then there may be a semicolon
// If there is a semicolon, eat it
if (!done() && curr().type() == lexeme::Semicolon) {
next();
if (semicolon_allowed)
next();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll tweak this to match house style == braces around all branch bodies, and 4-space indent.

@hsutter
Copy link
Owner

hsutter commented Jun 15, 2024

Thanks!

@hsutter hsutter merged commit 6156b51 into hsutter:main Jun 15, 2024
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.

[BUG] semicolons allowed in parameter list
2 participants