diff options
author | Per Bothner <per@bothner.com> | 1991-11-12 22:20:02 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1991-11-12 22:20:02 +0000 |
commit | 0e2a896cf5a7231fe300fe0918a38f87bc9ee0ec (patch) | |
tree | 3ba6589b103df25eeaab1de54754fbe0f5cbea36 /gdb/c-exp.y | |
parent | 5f12485297f7f829c0c035657197ce1de09a10cd (diff) | |
download | gdb-0e2a896cf5a7231fe300fe0918a38f87bc9ee0ec.zip gdb-0e2a896cf5a7231fe300fe0918a38f87bc9ee0ec.tar.gz gdb-0e2a896cf5a7231fe300fe0918a38f87bc9ee0ec.tar.bz2 |
Fixes related to handling of C++ methods (handle destructors
and parameters that are functions).
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 2 |
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 |