diff --git a/pmd-visualforce/etc/grammar/VfParser.jjt b/pmd-visualforce/etc/grammar/VfParser.jjt index f373794e53..d85aa6ba7a 100644 --- a/pmd-visualforce/etc/grammar/VfParser.jjt +++ b/pmd-visualforce/etc/grammar/VfParser.jjt @@ -75,7 +75,7 @@ PARSER_END(VfParser) | <#WHITESPACE: ( " " | "\t" | "\n" | "\r" ) > | <#NEWLINE: ( "\r\n" | "\r" | "\n" ) > | <#QUOTE: ( "'" | "\"" )> -| <#NO_WHITESPACE_OR_LT_OR_DOLLAR: (~[" ", "\t", "\n", "\r", "<", "$", "#"])> +| <#NO_WHITESPACE_OR_LT_OR_DOLLAR: (~[" ", "\t", "\n", "\r", "<"])> | <#NO_BANG: (~["!"])> | <#OPENBRACE: ("{") > | <#NO_LT_OR_OPENBRACE: (~["<","{"])> @@ -169,7 +169,7 @@ PARSER_END(VfParser) TOKEN : { : InTagState -| +| }