25 Aug
2003
25 Aug
'03
9:31 p.m.
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