From: Daniel Jacobowitz <drow@false.org>
To: Wu Zhou <woodzltc@cn.ibm.com>
Cc: gdb-patches@sources.redhat.com, Thomas.Koenig@online.de
Subject: Re: [RFC]: Patch to support Fortran derived type - Revised
Date: Mon, 20 Feb 2006 16:10:00 -0000 [thread overview]
Message-ID: <20060220161050.GE16058@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.63.0512101455050.21855@linux.site>
On Sat, Dec 10, 2005 at 03:24:29PM +0800, Wu Zhou wrote:
> > > +name : NAME
> > > + { $$ = $1.stoken; }
> > > + ;
> > > +
> >
> > Why not just use name_not_typename instead of adding "name"?
> >
> > Also, the comments in name_not_typename don't apply here; you could
> > also handle exp : exp % NAME_OR_INT as a name. But, I don't think that
> > adds much value. The whole NAME_OR_INT thing seems like overkill.
>
> AFAICT, adding "name" might be a more direct and easier way to handle
> that. I am not sure yet how to handle name_not_typename or NAME_OR_INT,
> but it seems that some more work is needed in either the parsing or
> evaluation phase. What is more, using "name" is the same way as that in
> c and c++ expression parser, which looks to be more consistent.
>
> Does these make sense?
I suppose.
> 2005-12-10 Wu Zhou <woodzltc@cn.ibm.com>
>
> * gdb.fortran/derived-type.f90: New file.
> * .fortran/derived-type.exp: New testcase.
Typo there.
> +++ gdb.fortran/derived-type.f90 16 Nov 2005 06:50:22 -0000
> @@ -0,0 +1,22 @@
> +program main
Please add a copyright notice to all new tests.
Otherwise the code and testcase look fine; Eli had some additional
comments on the texinfo bits.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-02-20 16:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 10:35 Wu Zhou
2005-11-16 14:16 ` Eli Zaretskii
2005-11-22 19:21 ` Wu Zhou
2005-11-22 9:36 ` Wu Zhou
2005-11-22 19:20 ` Daniel Jacobowitz
2005-11-23 13:06 ` Wu Zhou
2005-11-23 2:52 ` Eli Zaretskii
2005-12-08 10:33 ` Daniel Jacobowitz
2005-12-08 14:24 ` Eli Zaretskii
2005-12-08 19:22 ` Daniel Jacobowitz
2005-12-11 17:15 ` Wu Zhou
2005-12-11 23:40 ` Eli Zaretskii
2006-02-20 16:10 ` Daniel Jacobowitz [this message]
2006-02-24 7:53 ` Wu Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060220161050.GE16058@nevyn.them.org \
--to=drow@false.org \
--cc=Thomas.Koenig@online.de \
--cc=gdb-patches@sources.redhat.com \
--cc=woodzltc@cn.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox