diff options
| author | gingerBill <bill@gingerbill.org> | 2023-03-21 13:16:03 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-03-21 13:16:03 +0000 |
| commit | ba02ef8f252c1ee93df0d456e25fc4d920cc54ba (patch) | |
| tree | ee2882fb770fb5be7eeab441f8ec48b3a8e64c17 /src/parser.cpp | |
| parent | 2e85083d0a2c1cd8b4cbe166fdf0a817e5d1d1bb (diff) | |
Change trailing comma require to `-strict-style` only
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 0d9fad8c7..437d6300e 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -1434,7 +1434,7 @@ gb_internal Token expect_closing_brace_of_field_list(AstFile *f) { return token; } bool ok = true; - if (!f->allow_newline) { + if (f->allow_newline) { ok = !skip_possible_newline(f); } if (ok && allow_token(f, Token_Semicolon)) { |