This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog c-exp.y
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb ChangeLog c-exp.y
- From: msnyder at sourceware dot cygnus dot com
- Date: 27 Sep 2001 21:16:45 -0000
CVSROOT: /cvs/src
Module name: src
Changes by: msnyder@sources.redhat.com 2001-09-27 14:16:45
Modified files:
gdb : ChangeLog c-exp.y
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.1623&r2=1.1624
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&r1=1.5&r2=1.6