Is the declaration grammar definition of 'Parameter' correct?

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon Jun 7 21:00:43 PDT 2010



Yeah, it's wrong. (close reads of parse.c are much more useful than 
reading the spec. heh.) A peek in my grammar and...

Parameter:
    ...
    BasicType Declarator
    BasicType Declarator = AssignExpression
    BasicType Declarator ...
    Type
    Type ...

I probably should have filed bug reports back when I was going through 
the grammar. Oh well.


More information about the Digitalmars-d mailing list