From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-08-25 16:31:26


On Monday 25 August 2003 04:44 pm, shyamemani wrote:
> None of the 'declaration' rules also seem to parse the tokens 'float
> (int,int) (I know I am missing something here).
> I could not figure out why the string 'float (int,int)' is accepted
> by the compiler and what type it is assigned? Is it just a extension
> of the standard by GCC? Can somebody help me figure this out?

It's a function type, and it is standard (not an extension). And you can trace
through the grammar to find the right production, but it isn't trivial to do.

        Doug