diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-12-18 16:17:45 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-12-18 16:17:45 +0000 |
| commit | 062a2c63e16c31cd68f758ec8946b9cd3bfe4d34 (patch) | |
| tree | 00108d1ce88c3379582a36a80f6c537bc1dd53e3 /src/parser.c | |
| parent | b957365b0d6c1b49362e3ea1ed415c8646319ec5 (diff) | |
Very minor style changes
Diffstat (limited to 'src/parser.c')
| -rw-r--r-- | src/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c index b12da1feb..f2e61bfc4 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1602,8 +1602,9 @@ AstNode *parse_call_expr(AstFile *f, AstNode *operand) { while (f->curr_token.kind != Token_CloseParen && f->curr_token.kind != Token_EOF && ellipsis.pos.line == 0) { - if (f->curr_token.kind == Token_Comma) + if (f->curr_token.kind == Token_Comma) { syntax_error(f->curr_token, "Expected an expression not a ,"); + } if (f->curr_token.kind == Token_Ellipsis) { ellipsis = f->curr_token; |