From: Daniel Jacobowitz <drow@false.org>
To: Wu Zhou <woodzltc@cn.ibm.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [Patch Ping]: the support of F90 subarray and substring evaluation
Date: Sun, 18 Sep 2005 01:39:00 -0000 [thread overview]
Message-ID: <20050918013903.GT8777@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.63.0508152147050.12450@linux.site>
On Mon, Aug 15, 2005 at 10:07:58PM +0800, Wu Zhou wrote:
> 2005-08-15 Wu Zhou <woodzltc@cn.ibm.com>
>
> * expression.h (enum exp_opcode): Add a new operator for F90
> subrange.
> * f-lang.h (enum f90_range_type): New enumeration type to identify
> F90 subrange type.
> * f-exp.y (yyparse): Add support for parsing F90 subrange and
> change substring parsing to subrange parsing.
> * parse.c (operator_length_standard): Set the operator length
> and args number for OP_F90_RANGE.
> * eval.c (evaluate_subexp_standard): Add code to evaluate F90
> array section and substring.
> (value_f90_subarray): New function to evaluate F90 array section.
> (label op_f77_substr): Replaced by value_f90_subarray. Deleted.
Sorry about the delay. This patch, and the testsuite patch, are OK.
Two formatting comments to clean up before you check it in:
Don't reference "label op_f77_substr" as if it were a function in
the ChangeLog. Reference the containing function, instead.
> + /* A F90 array range operator. (for "exp:exp", "exp:", ":exp" and ":") */
/* A F90 array range operator (for "exp:exp", "exp:", ":exp" and ":"). */
Period at the end and two spaces.
Thanks!
> 2005-08-15 Wu Zhou <woodzltc@cn.ibm.com>
>
> * gdb.fortran/subarray.exp: New testcase to test the evaluation
> of subarray and substring variable.
> * gdb.fortran/subarray.f: New source file for the test of subarray
> and substring variable evaluation.
> * gdb.fortran/exprs.exp: Add four tests for substring evaluation
> of string constant.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-09-18 1:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-15 17:38 Wu Zhou
2005-09-18 1:39 ` Daniel Jacobowitz [this message]
2005-09-20 6:52 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=20050918013903.GT8777@nevyn.them.org \
--to=drow@false.org \
--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