From 5b3172aa286d505acd6c93e12e14535b1cf7302c Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 21 Feb 2017 16:29:45 -0800 Subject: [PATCH] Fixed floats support --- pmd-visualforce/etc/grammar/VfParser.jjt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);}