From 68ff1582a9b995b7f4f41b226e6be544fe3fe03a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 4 Mar 1998 14:24:06 -0700 Subject: [PATCH] lex.c (do_scoped_id): Fix parenthesizing. 8 * lex.c (do_scoped_id): Fix parenthesizing. From-SVN: r18408 --- gcc/cp/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 90d42802237..b953f951d98 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -2985,7 +2985,7 @@ do_scoped_id (token, parsing) LOOKUP_EXPR_GLOBAL (id) = 1; return id; } - if (parsing && yychar == '(' || yychar == LEFT_RIGHT) + if (parsing && (yychar == '(' || yychar == LEFT_RIGHT)) id = implicitly_declare (token); else {