harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d4489fea569ad6b77080fd30f4520702da703851
parent 7fd0e10f6eedd57fbd089297678d72c2f050d29e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 25 Dec 2020 14:21:37 -0500

parse: fix nested expressions

Diffstat:
Msrc/parse.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parse.c b/src/parse.c @@ -614,7 +614,7 @@ parse_postfix_expression(struct parser *par) return parse_measurement_expression(par); case T_LPAREN: lvalue = parse_complex_expression(par); - want(par, T_LPAREN, &tok); + want(par, T_RPAREN, &tok); break; default: unlex(par->lex, &tok);