--- cvs/ZendEngine2/zend_highlight.c 2003-08-11 01:24:41.000000000 -0400
+++ cvs-diff/ZendEngine2/zend_highlight.c 2003-10-28 14:05:59.000000000 -0500
@@ -30,7 +30,7 @@
{
switch (c) {
case '\n':
- ZEND_PUTS("
");
+ ZEND_PUTS("
\n");
break;
case '<':
ZEND_PUTS("<");
@@ -45,7 +45,7 @@
ZEND_PUTS(" ");
break;
case '\t':
- ZEND_PUTS(" ");
+ ZEND_PUTS(" \t");
break;
default:
ZEND_PUTC(c);
@@ -104,8 +104,8 @@
char *next_color;
int in_string=0;
- zend_printf("");
- zend_printf("\n", last_color);
+ zend_printf("\n");
+ zend_printf("\n", last_color);
/* highlight stuff coming back from zendlex() */
token.type = 0;
while ((token_type=lex_scan(&token TSRMLS_CC))) {
@@ -151,11 +151,11 @@
if (last_color != next_color) {
if (last_color != syntax_highlighter_ini->highlight_html) {
- zend_printf("");
+ zend_printf("");
}
last_color = next_color;
if (last_color != syntax_highlighter_ini->highlight_html) {
- zend_printf("", last_color);
+ zend_printf("", last_color);
}
}
switch (token_type) {
@@ -192,10 +192,10 @@
token.type = 0;
}
if (last_color != syntax_highlighter_ini->highlight_html) {
- zend_printf("\n");
+ zend_printf("\n");
}
- zend_printf("\n");
- zend_printf("");
+ zend_printf("\n");
+ zend_printf("\n");
}
@@ -264,4 +264,3 @@
* indent-tabs-mode: t
* End:
*/
-