Bug fix in list grammar.

This commit is contained in:
Lewis Van Winkle
2016-02-24 13:52:42 -06:00
parent 3f1d5d2553
commit 31782a849f
2 changed files with 4 additions and 1 deletions

View File

@@ -361,7 +361,7 @@ static te_expr *list(state *s) {
while (s->type == TOK_SEP) {
next_token(s);
ret = new_expr(TE_FUNCTION2, ret, term(s));
ret = new_expr(TE_FUNCTION2, ret, expr(s));
ret->f2 = comma;
}