#1402 ignore quoted jsp end tag

This commit is contained in:
justprv
2018-10-23 12:58:25 +04:00
parent 2848cfc7c9
commit 7cf231bd01

View File

@ -137,6 +137,7 @@ PARSER_END(JspParser)
// anything but --%>
| <#NO_JSP_COMMENT_END: (~["-"] | "-" ~["-"] | "--" ~["%"] | "--%" ~[">"])+ >
| <#NO_JSP_TAG_END: ( ~["%"] | ("%" ~[">"]) )+ >
| <#NO_JSP_TAG_END_EXCEPT_QUOTED: ( ~["%", "\"", "'"] | ("%" ~[">"]) | <QUOTED_STRING> )+ >
}
@ -194,7 +195,7 @@ PARSER_END(JspParser)
<JspScriptletState> TOKEN :
{
<JSP_SCRIPTLET_END: "%>" > : AfterTagState
| <JSP_SCRIPTLET: <NO_JSP_TAG_END> >
| <JSP_SCRIPTLET: <NO_JSP_TAG_END_EXCEPT_QUOTED> >
}
<JspExpressionState> TOKEN :
@ -206,7 +207,7 @@ PARSER_END(JspParser)
<JspDeclarationState> TOKEN :
{
<JSP_DECLARATION_END: "%>" > : AfterTagState
| <JSP_DECLARATION: <NO_JSP_TAG_END> >
| <JSP_DECLARATION: <NO_JSP_TAG_END_EXCEPT_QUOTED> >
}
<JspCommentState> TOKEN :