Created
October 29, 2013 17:44
-
-
Save kosugi/7219330 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l | |
| index d2e7243..31b1d33 100644 | |
| --- a/Zend/zend_language_scanner.l | |
| +++ b/Zend/zend_language_scanner.l | |
| @@ -1984,7 +1984,7 @@ inline_html: | |
| return T_COMMENT; | |
| } | |
| -<ST_IN_SCRIPTING>("?>"|"</script"{WHITESPACE}*">"){NEWLINE}? { | |
| +<ST_IN_SCRIPTING>("?>"|"</script"{WHITESPACE}*">") { | |
| zendlval->value.str.val = yytext; /* no copying - intentional */ | |
| zendlval->value.str.len = yyleng; | |
| zendlval->type = IS_STRING; | |
| @@ -1993,7 +1993,7 @@ inline_html: | |
| } | |
| -<ST_IN_SCRIPTING>"%>"{NEWLINE}? { | |
| +<ST_IN_SCRIPTING>"%>" { | |
| if (CG(asp_tags)) { | |
| BEGIN(INITIAL); | |
| zendlval->value.str.len = yyleng; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment