Support for optional args in EL

This commit is contained in:
Sergey
2017-02-22 10:02:10 -08:00
committed by Juan Martín Sotuyo Dodero
parent 83294540af
commit 59429b7124

View File

@ -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()
}