summaryrefslogtreecommitdiff
path: root/Zend/zend_indent.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-22 23:08:42 +0000
committerZeev Suraski <zeev@php.net>1999-04-22 23:08:42 +0000
commit551fe7780b570701e93d4680f677801f39e41b49 (patch)
tree49ae7ccf88f0d3ab540ad2918ea5c34dfadadef5 /Zend/zend_indent.c
parent327fc20243e0891ef54a25f2b3d38708cb39f02b (diff)
downloadphp-git-551fe7780b570701e93d4680f677801f39e41b49.tar.gz
Make token names uniform, they all begin with T_ now.
Diffstat (limited to 'Zend/zend_indent.c')
-rw-r--r--Zend/zend_indent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_indent.c b/Zend/zend_indent.c
index 223cbea791..a532bac81a 100644
--- a/Zend/zend_indent.c
+++ b/Zend/zend_indent.c
@@ -56,7 +56,7 @@ void zend_indent()
token.type = 0;
while ((token_type=lex_scan(&token CLS_CC))) {
switch (token_type) {
- case INLINE_HTML:
+ case T_INLINE_HTML:
zend_write(zendtext, zendleng);
break;
case T_WHITESPACE: {
@@ -127,8 +127,8 @@ dflt_printout:
}
if (token.type == IS_STRING) {
switch (token_type) {
- case PHP_OPEN_TAG:
- case PHP_CLOSE_TAG:
+ case T_OPEN_TAG:
+ case T_CLOSE_TAG:
case T_WHITESPACE:
break;
default: