OSDN Git Service

2001-09-20 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@specifix.com>
Thu, 27 Sep 2001 21:16:43 +0000 (21:16 +0000)
committerMichael Snyder <msnyder@specifix.com>
Thu, 27 Sep 2001 21:16:43 +0000 (21:16 +0000)
commit02349c2c817a5fed18e5e9be1c96f27195d90c66
tree6dbcdef32d5c6e0eb4fc5036a8e6f682e9c4dd84
parent696ddf9472e4ddea90a884fac387c8cbc21c1cfc
2001-09-20  Michael Snyder  <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
better parsing of const and volatile type expressions.
* c-exp.y (const_and_volatile, const_or_volatile_noopt,
const_or_volatile): New non-terminals.
(ptype): Use new rule for const_or_volatile.
(typebase): Use new rule for const_or_volatile_noopt.
* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
* parse.c (follow_types): Handle tp_const and tp_volatile on the
        type stack: call make_cv_type to create new const/volatile type.
gdb/ChangeLog
gdb/c-exp.y