diff --git a/pmd-visualforce/etc/grammar/VfParser.jjt b/pmd-visualforce/etc/grammar/VfParser.jjt index 1b41e24da4..de4357aa5d 100644 --- a/pmd-visualforce/etc/grammar/VfParser.jjt +++ b/pmd-visualforce/etc/grammar/VfParser.jjt @@ -498,9 +498,9 @@ void ArgumentList() #void: } void Literal() : -{ String s; Token t,d,n; StringBuffer sb = new StringBuffer(); } +{ String s; } { - 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);}