Skip to content

Commit

Permalink
Remove unneeded else if in parser.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Splder authored Sep 29, 2024
1 parent 02241b6 commit 9f8a2b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Ast/src/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2714,10 +2714,6 @@ AstExpr* Parser::parseTableConstructor()
{
report(lexer.current().location, "Expected ',' after table constructor element");
}
else if (lexer.current().type != '}')
{
break;
}
}

Location end = lexer.current().location;
Expand Down

0 comments on commit 9f8a2b3

Please sign in to comment.