This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC]: Document patch for F90 derived type support


> Date: Fri, 24 Feb 2006 02:54:16 -0500 (EST)
> From: Wu Zhou <woodzltc@cn.ibm.com>
> 
> Here is the modified document patch for F90 derived type support.  Please 
> review and comment.

Reviewed; comments below.

> + Fortran 90 and later support derived type (a.k.a structure).  For a
                                               ^^^^^
This should be "a.k.a.@:".  You forgot the last period, and @: tells
TeX that this period does not end a sentence, so that TeX typeset it
correctly.

> + type = Type bar
> +     int4 :: c
> +     real*4 :: d
> + End Type bar

Btw, isn't it more consistent to print "integer*4" instead of "int4"?
Either that, or just "integer", I think.  Or is "int4" a valid type
name in f90?  (The last Fortran I used was f77, so please forgive my
ignorance.)

> + For example, for variable q of type foo defined above:

"q" and "foo" should be in @code (they are program symbols).

> + Please be noted that in the above example, the result of @code{print q}
    ^^^^^^^^^^^^^^^
"Please note".

Other than that, fine with me.  Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]