D2 Grammar

Paolo Invernizzi paoloinvernizzi at fastwebnet.it
Mon Jan 12 05:10:02 PST 2009


In the documentation, the grammar for Declarator is:

Declarator:
        BasicType2 Declarator DeclaratorSuffixesopt
        BasicType2 Identifier DeclaratorSuffixesopt

How is possible to parse something like " int i,j; "?
What are the parser reduction steps?

Thanks in advance!
Paolo






More information about the Digitalmars-d mailing list