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.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 3e318fe..0c51cd2 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -771,6 +771,8 @@ array_mod: '[' ']'
func_mod: '(' ')'
{ $$ = 0; }
+ | '(' nonempty_typelist ')'
+ { free ($2); $$ = 0; }
;
type : ptype