Re: How to parse char **argv?

wasser@jamin.enet.dec.com (John Wasser)
12 Sep 1997 21:25:53 -0400

          From comp.compilers

Related articles
How to parse char **argv? supercat@planet.net.hk (Raymond Li) (1997-09-07)
Re: How to parse char **argv? wasser@jamin.enet.dec.com (1997-09-12)
| List of all articles for this month |

From: wasser@jamin.enet.dec.com (John Wasser)
Newsgroups: comp.lang.c,comp.compilers,comp.lang.c++
Date: 12 Sep 1997 21:25:53 -0400
Organization: Digital Equipment Corporation
Keywords: C, parse

Raymond Li <supercat@planet.net.hk> wrote:


> My first question is: which grammar rule is it used for the last
> line?


        From the ANSI C standard:


                pointer:
                        * [type-qualifier-list]
                        * [type-qualifier-list] pointer


        Note: I use the brackets to show that the type-qualifier-list
        is optional since I don't think a subscript "opt" would make
        it through the network.


-----------------------------------------------------------------
John A. Wasser, PATHWORKS Engineering, Digital Equipment Corp.
Mailstop LKG2-1/T01, 550 King Street, Littleton MA, USA 01460
Email: (Work) wasser@jamin.enet.dec.com (Other) wasser@tiac.net
Home Page: http://www.tiac.net/users/wasser/index.html
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.