aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1993-12-28 20:11:25 +0000
committerKung Hsu <kung@cygnus>1993-12-28 20:11:25 +0000
commitbbc2cef26821f79d85350b551df4d966cb69d8e7 (patch)
tree67e58bf80296820160ad8580fb1d64a7bb19ac00 /gdb/c-exp.y
parentd1b44e837edd40e94f8a3929cce73ed9463b4d81 (diff)
downloadgdb-bbc2cef26821f79d85350b551df4d966cb69d8e7.zip
gdb-bbc2cef26821f79d85350b551df4d966cb69d8e7.tar.gz
gdb-bbc2cef26821f79d85350b551df4d966cb69d8e7.tar.bz2
CVS:
Modified Files: ChangeLog c-exp.y * c-exp.y : fix grammar to parse ellipsis (...) (fix pr4218)
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index ebc1ca6..f58424f 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -831,6 +831,7 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */
be too. */
| CONST_KEYWORD typebase { $$ = $2; }
| VOLATILE_KEYWORD typebase { $$ = $2; }
+ | '.' '.' '.' { $$ = NULL; }
;
typename: TYPENAME