aboutsummaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-18 01:10:25 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-18 01:10:25 +0000
commitf843c95fc3d55bb449ed9e681848808c9f637ee4 (patch)
tree139637eb69a38c92edc87506e010d755776dfd55 /gdb/parser-defs.h
parentcf4d863151f03057f70f5dacba3a56b5f10e97cc (diff)
downloadgdb-f843c95fc3d55bb449ed9e681848808c9f637ee4.zip
gdb-f843c95fc3d55bb449ed9e681848808c9f637ee4.tar.gz
gdb-f843c95fc3d55bb449ed9e681848808c9f637ee4.tar.bz2
* parse.c, parser-defs.h (follow_types): New function.
* c-exp.y (ptype : typebase abs_decl): Use it. * c-exp.y (ptype): Add support for type qualifiers after the typebase. The typebase rule already has support for them before the typebase. * Makefile.in: Change the expected number of shift/reduce conflicts to 6. This is OK--the 2 new conflicts are basically the same as one of the old ones.
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r--gdb/parser-defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index c57511a..5c8710e 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -133,6 +133,8 @@ pop_type PARAMS ((void));
extern int
pop_type_int PARAMS ((void));
+extern struct type *follow_types PARAMS ((struct type *));
+
/* During parsing of a C expression, the pointer to the next character
is in this variable. */