aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 92d6c21..688c060 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -1885,11 +1885,13 @@ yylex ()
lexptr++;
goto retry;
+ case '[':
case '(':
paren_depth++;
lexptr++;
return c;
+ case ']':
case ')':
if (paren_depth == 0)
return 0;
@@ -1991,8 +1993,6 @@ yylex ()
case '@':
case '<':
case '>':
- case '[':
- case ']':
case '?':
case ':':
case '=':