Skip to content

Commit

Permalink
Do the same for else block
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuukk authored Aug 15, 2024
1 parent b515271 commit 06afefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dparse/parser.d
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ class Parser
advance();
while (moreTokens() && !currentIs(tok!"}"))
if (!falseDeclarations.put(parseDeclaration(strict, true, inTemplateDeclaration)))
return null;
continue;
if (brace)
mixin(tokenCheck!"}");
}
Expand Down

0 comments on commit 06afefe

Please sign in to comment.