This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC] pascal support sizeof (expression)
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Joel Brobecker'" <brobecker at adacore dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Sat, 8 May 2010 11:20:16 +0200
- Subject: RE: [RFC] pascal support sizeof (expression)
- References: <004c01caedfa$50bef820$f23ce860$@muller@ics-cnrs.unistra.fr> <20100507161035.GA2768@adacore.com>
> > Once more, I ask before committing because I am
> > unsure about the ChangeLog entry:
>
> When unsure, I tend to look at prior art ;-).
I did, but didn't find any obvious pattern...
> > Pierre Muller
> > Pascal language support maintainer for GDB
> >
> > 2010-05-07 Pierre Muller <muller@ics.u-strasbg.fr>
> >
> > * p-exp.y (pascal_parse): Add support for `sizeof (expression)'.
>
> I usually tend to provide the name of the rule, like in makefiles...
> Or looking at Tom's entry:
>
> (exp : VARIABLE): Call write_dollar_variable.
I committed the patch with this ChangeLog entry:
2010-05-08 Pierre Muller <muller@ics.u-strasbg.fr>
* p-exp.y (exp : SIZEOF '(' exp ')'): New rule.
Pierre