Re: Parsing functions - do I need a keyword like 'def' to indicate a function?

Ken Rose <kenrose@tfb.com>
14 Nov 2004 22:41:57 -0500

          From comp.compilers

Related articles
[9 earlier articles]
Re: Parsing functions - do I need a keyword like 'def' to indicate a f zhouhui@wam.umd.edu (Hui Zhou) (2004-10-17)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f postmaster@paul.washington.dc.us (Paul Robinson) (2004-10-21)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f angagon@earthlink.net (Matt O'Connor) (2004-10-30)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f alexc@TheWorld.com (Alex Colvin) (2004-11-02)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f david.thompson1@worldnet.att.net (Dave Thompson) (2004-11-02)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f clint@0lsen.net (Clint Olsen) (2004-11-06)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f kenrose@tfb.com (Ken Rose) (2004-11-14)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f kers@hplb.hpl.hp.com (Chris Dollin) (2004-11-17)
Re: Parsing functions - do I need a keyword like 'def' to indicate a f david.thompson1@worldnet.att.net (Dave Thompson) (2004-11-28)
| List of all articles for this month |
From: Ken Rose <kenrose@tfb.com>
Newsgroups: comp.compilers
Date: 14 Nov 2004 22:41:57 -0500
Organization: Posted via Supernews, http://www.supernews.com
References: 04-10-092 04-10-161 04-10-185 04-11-006 04-11-014
Keywords: syntax, design
Posted-Date: 14 Nov 2004 22:41:57 EST

>>If it's inside a function it can only be a call.
>
> What about function prototypes? Those can occur both inside and outside of
> functions.


A call will never start with a type name. A prototype will always start
with a type name, the name of the return type.


    - ken


Post a followup to this message

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