2001-09-20 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c4437a839fd6ee81b336e143700aceed6d1402d4..2c74a8532b8a69c995c92f10c6e4011c84b9a600 100644 (file)
 
        * c-exp.y (typebase): Accept (signed long long) as a type expr.
 
+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.
+
 2001-09-20  Kevin Buettner  <kevinb@redhat.com>
 
        * solib-svr4.c (fetch_link_map_offsets): Add comment.
This page took 0.023927 seconds and 4 git commands to generate.