Very minor style changes

This commit is contained in:
Ginger Bill
2016-12-18 16:17:45 +00:00
parent b957365b0d
commit 062a2c63e1
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -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;