mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Support <?=
This commit is contained in:
parent
d47d83511a
commit
d6595d628c
@ -993,8 +993,9 @@ ESCAPED_AND_WHITESPACE [\n\t\r #'.:;,()|^&+-/*=%!~<>?@]+
|
||||
}
|
||||
|
||||
|
||||
<INITIAL>"<%=" {
|
||||
if (CG(asp_tags)) {
|
||||
<INITIAL>"<%="|"<?=" {
|
||||
if ((yytext[1]=='%' && CG(asp_tags))
|
||||
|| (yytext[1]=='?' && CG(short_tags))) {
|
||||
zendlval->value.str.val = yytext; /* no copying - intentional */
|
||||
zendlval->value.str.len = yyleng;
|
||||
zendlval->type = IS_STRING;
|
||||
|
Loading…
Reference in New Issue
Block a user