diff options
| author | gingerBill <bill@gingerbill.org> | 2021-05-04 23:41:35 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-05-04 23:41:35 +0100 |
| commit | bb9c1d04db025f5497d8e2cc4f3c6346bfd298cc (patch) | |
| tree | 0ef05b905143d2273dd6d9ff372e3bac33f7946a /src | |
| parent | 6fa5eb9e1f195d538212adc24eb5cbdaf98edb01 (diff) | |
Fix missing newline check
Diffstat (limited to 'src')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index d048e78e7..d0a2c933c 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2158,6 +2158,8 @@ Ast *parse_operand(AstFile *f, bool lhs) { return type; } + skip_possible_newline_for_literal(f); + if (allow_token(f, Token_Undef)) { if (where_token.kind != Token_Invalid) { syntax_error(where_token, "'where' clauses are not allowed on procedure literals without a defined body (replaced with ---)"); |