harec

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

commit 6b26d7f9fe2a75a9ad95a43be7a87496cd42658a
parent b799ccf9aae67426dd2bd819fa3d1848b6dd7161
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 23 Dec 2020 18:14:41 -0500

parse: remove * from complex path in scope

This fixes the parsing for `**foo = 0;`

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

diff --git a/src/parse.c b/src/parse.c @@ -869,8 +869,7 @@ parse_scope_expression(struct parser *par) case T_MINUS: case T_BNOT: case T_LNOT: - case T_BAND: - case T_TIMES: // unary-expression + case T_BAND: // unary-expression unlex(par->lex, &tok); value = parse_complex_expression(par); if (indirect) {