mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Support <?=
This commit is contained in:
parent
d47d83511a
commit
d6595d628c
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue