Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ike709 committed Oct 4, 2024
1 parent 0a08805 commit c4b9832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DMCompiler/Compiler/DM/DMParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ public DMASTFile File() {
value = Expression();
RequireExpression(ref value);
} else if (Check(TokenType.DM_DoubleSquareBracketEquals)) {
if (value != null) Warning("List doubly initialized");

Whitespace();
value = Expression();
RequireExpression(ref value);
Expand Down

0 comments on commit c4b9832

Please sign in to comment.