Support <?=

This commit is contained in:
Zeev Suraski 1999-06-11 13:56:04 +00:00
parent d47d83511a
commit d6595d628c

View File

@ -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;