File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2183,6 +2183,11 @@ NONLopt [^\n]*
21832183 *yyextra->pCopyHereDocGString << yytext;
21842184 BEGIN(CopyHereDocEnd);
21852185 }
2186+ <CopyHereDoc>" \" " {ID}/" \" " { // PHP quoted heredoc
2187+ yyextra->delimiter = &yytext[1 ];
2188+ *yyextra->pCopyHereDocGString << yytext;
2189+ BEGIN (CopyHereDocEnd);
2190+ }
21862191<CopyHereDoc>" '" {ID}/" '" { // PHP nowdoc
21872192 yyextra->delimiter = &yytext[1 ];
21882193 *yyextra->pCopyHereDocGString << yytext;
@@ -2192,6 +2197,10 @@ NONLopt [^\n]*
21922197 yyextra->delimiter = yytext;
21932198 BEGIN (HereDocEnd);
21942199 }
2200+ <HereDoc>" \" " {ID}/" \" " { // PHP quoted heredoc
2201+ yyextra->delimiter = &yytext[1 ];
2202+ BEGIN (HereDocEnd);
2203+ }
21952204<HereDoc>" '" {ID}/" '" { // PHP nowdoc
21962205 yyextra->delimiter = &yytext[1 ];
21972206 BEGIN (HereDocEnd);
You can’t perform that action at this time.
0 commit comments