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

Chris Dollin <kers@hplb.hpl.hp.com>
17 Nov 2004 11:37:49 -0500

          From comp.compilers

Related articles
[10 earlier articles]
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: Chris Dollin <kers@hplb.hpl.hp.com>
Newsgroups: comp.compilers
Date: 17 Nov 2004 11:37:49 -0500
Organization: HPLB
References: 04-10-092 04-10-161 04-10-185 04-11-006 04-11-014 04-11-036
Keywords: syntax
Posted-Date: 17 Nov 2004 11:37:48 EST

Ken Rose wrote:


>>>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.


Inplicit int is legal in pre-99 C.


--
Chris "electric hedgehog" Dollin



Post a followup to this message

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