mirror of
https://github.com/php/php-src.git
synced 2026-04-20 06:21:12 +02:00
It should be fixed later in some better way (added ??? marks)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1180,6 +1180,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
||||
}
|
||||
|
||||
<ST_IN_SCRIPTING,ST_LOOKING_FOR_PROPERTY>{WHITESPACE}+ {
|
||||
//??? ZVAL_STRINGL(zendlval, yytext, yyleng);
|
||||
ZVAL_STR(zendlval, STR_EMPTY_ALLOC()); /* tricky way to no copying - intentional */
|
||||
HANDLE_NEWLINES(yytext, yyleng);
|
||||
return T_WHITESPACE;
|
||||
@@ -1693,6 +1694,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
||||
}
|
||||
|
||||
HANDLE_NEWLINES(yytext, yyleng);
|
||||
//??? ZVAL_STRINGL(zendlval, yytext, yyleng);
|
||||
ZVAL_STR(zendlval, STR_EMPTY_ALLOC()); /* tricky way to no copying - intentional */
|
||||
BEGIN(ST_IN_SCRIPTING);
|
||||
return T_OPEN_TAG;
|
||||
@@ -1701,6 +1703,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
||||
|
||||
<INITIAL>"<%=" {
|
||||
if (CG(asp_tags)) {
|
||||
//??? ZVAL_STRINGL(zendlval, yytext, yyleng);
|
||||
ZVAL_STR(zendlval, STR_EMPTY_ALLOC()); /* tricky way to no copying - intentional */
|
||||
BEGIN(ST_IN_SCRIPTING);
|
||||
return T_OPEN_TAG_WITH_ECHO;
|
||||
@@ -1711,6 +1714,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
||||
|
||||
|
||||
<INITIAL>"<?=" {
|
||||
//??? ZVAL_STRINGL(zendlval, yytext, yyleng);
|
||||
ZVAL_STR(zendlval, STR_EMPTY_ALLOC()); /* tricky way to no copying - intentional */
|
||||
BEGIN(ST_IN_SCRIPTING);
|
||||
return T_OPEN_TAG_WITH_ECHO;
|
||||
@@ -1719,6 +1723,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
||||
|
||||
<INITIAL>"<%" {
|
||||
if (CG(asp_tags)) {
|
||||
//??? ZVAL_STRINGL(zendlval, yytext, yyleng);
|
||||
ZVAL_STR(zendlval, STR_EMPTY_ALLOC()); /* tricky way to no copying - intentional */
|
||||
BEGIN(ST_IN_SCRIPTING);
|
||||
return T_OPEN_TAG;
|
||||
@@ -1729,6 +1734,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
|
||||
|
||||
|
||||
<INITIAL>"<?php"([ \t]|{NEWLINE}) {
|
||||
//??? ZVAL_STRINGL(zendlval, yytext, yyleng);
|
||||
ZVAL_STR(zendlval, STR_EMPTY_ALLOC()); /* tricky way, no copying intentional */
|
||||
HANDLE_NEWLINE(yytext[yyleng-1]);
|
||||
BEGIN(ST_IN_SCRIPTING);
|
||||
|
||||
Reference in New Issue
Block a user