forked from phoedos/pmd
Support for optional args in EL
This commit is contained in:
Sergey
committed by
Juan Martín Sotuyo Dodero
parent
83294540af
commit
59429b7124
@ -496,14 +496,14 @@ void PrimaryPrefix() #void :
|
||||
Literal()
|
||||
| Identifier()
|
||||
| <LPAREN> Expression() <RPAREN>
|
||||
| <LSQUARE> Expression() <RSQUARE>
|
||||
| <LSQUARE> Expression() (<COMMA> Expression())* <RSQUARE>
|
||||
|
||||
}
|
||||
|
||||
void PrimarySuffix() #void :
|
||||
{}
|
||||
{
|
||||
<LSQUARE> Expression() <RSQUARE>
|
||||
<LSQUARE> Expression() (<COMMA> Expression())* <RSQUARE>
|
||||
| DotExpression()
|
||||
| Arguments()
|
||||
}
|
||||
|
Reference in New Issue
Block a user