projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d47d835
)
Support <?=
author
Zeev Suraski
<zeev@php.net>
Fri, 11 Jun 1999 13:56:04 +0000
(13:56 +0000)
committer
Zeev Suraski
<zeev@php.net>
Fri, 11 Jun 1999 13:56:04 +0000
(13:56 +0000)
Zend/zend-scanner.l
patch
|
blob
|
history
diff --git
a/Zend/zend-scanner.l
b/Zend/zend-scanner.l
index a9e6d2944ad8236090adc89c98369faf966e15e7..116dcf72a853cddf5c83d28d12a71088f4cf3e90 100644
(file)
--- a/
Zend/zend-scanner.l
+++ b/
Zend/zend-scanner.l
@@
-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;