diff --git a/pmd-visualforce/etc/grammar/VfParser.jjt b/pmd-visualforce/etc/grammar/VfParser.jjt index 49c7dd7988..1b41e24da4 100644 --- a/pmd-visualforce/etc/grammar/VfParser.jjt +++ b/pmd-visualforce/etc/grammar/VfParser.jjt @@ -148,7 +148,7 @@ PARSER_END(VfParser) | | | > - | )+ > + | )+ ( ()+)? > | > | | @@ -498,9 +498,9 @@ void ArgumentList() #void: } void Literal() : -{ String s; Token t; } +{ String s; Token t,d,n; StringBuffer sb = new StringBuffer(); } { - t = { jjtThis.setImage(t.image);} + t = { jjtThis.setImage(t.image);} | t = { jjtThis.setImage(t.image);} | s = BooleanLiteral() { jjtThis.setImage(s);} | s = NullLiteral() { jjtThis.setImage(s);}