diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2023-03-21 14:22:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-21 14:22:37 +0000 |
| commit | 05434daa69563850f3dde75f9a9f4b35ebe689da (patch) | |
| tree | ab2959ed96a22b73dec7df85549a722da4355c19 /src/parser.cpp | |
| parent | 3748e117a9aed7055821931ac3e6270fa091d046 (diff) | |
| parent | 2c4a478987e030e0891b4e317b47886ac6fd06fe (diff) | |
Merge pull request #2398 from odin-lang/raylib-4.5
raylib 4.5
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)) { |