From 86ba85f129855fed8a61427c1bfbb76561f30cda Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 16 Feb 2017 15:30:35 -0800 Subject: [PATCH] Fixed BOM and random spacing --- pmd-visualforce/etc/grammar/VfParser.jjt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pmd-visualforce/etc/grammar/VfParser.jjt b/pmd-visualforce/etc/grammar/VfParser.jjt index 67bd67c061..f373794e53 100644 --- a/pmd-visualforce/etc/grammar/VfParser.jjt +++ b/pmd-visualforce/etc/grammar/VfParser.jjt @@ -49,6 +49,7 @@ public class VfParser { PARSER_END(VfParser) /** ************************* VF LEXICON **************************** */ +// functionCall: identifier LPAREN expression? (COMMA expression)* RPAREN; <*> TOKEN : { @@ -147,7 +148,7 @@ PARSER_END(VfParser) > | " > : AfterTagState | " | "!>") > : AfterTagState -| " > : AfterTagState +| " | "/ >") > : AfterTagState | +} + /** * Everything between a start-tag and the corresponding end-tag of an element (if an end tag exists). */