diff options
author | Andi Gutmans <andi@php.net> | 2000-03-09 16:02:05 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-03-09 16:02:05 +0000 |
commit | 5b570ecc01c2fc7f2a818990c3520a95518b9107 (patch) | |
tree | da254f5d622b7beb8aedac33c0db8d7fdad15533 /Zend | |
parent | bf87ec7aeb42b7535e9e1e63fd15097a9a8816fa (diff) | |
download | php-git-5b570ecc01c2fc7f2a818990c3520a95518b9107.tar.gz |
- Fix bug in syntax highlighter
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_highlight.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_highlight.c b/Zend/zend_highlight.c index 3acaaf9106..378b0380ae 100644 --- a/Zend/zend_highlight.c +++ b/Zend/zend_highlight.c @@ -94,6 +94,7 @@ ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini next_color = syntax_highlighter_ini->highlight_comment; break; case T_OPEN_TAG: + case T_OPEN_TAG_WITH_ECHO: next_color = syntax_highlighter_ini->highlight_default; break; case T_CLOSE_TAG: @@ -145,6 +146,7 @@ ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini if (token.type == IS_STRING) { switch (token_type) { case T_OPEN_TAG: + case T_OPEN_TAG_WITH_ECHO: case T_CLOSE_TAG: case T_WHITESPACE: break; |