summaryrefslogtreecommitdiff
path: root/Zend/zend_highlight.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2003-03-19 21:17:47 +0000
committerAndrei Zmievski <andrei@php.net>2003-03-19 21:17:47 +0000
commit39d5a638030a210c35db20502fe45681c1ca9496 (patch)
tree4ebf5306322db795143f00c58093ab039f3393b6 /Zend/zend_highlight.c
parent3a297fac22d47114e877f1c37305ee1d9e0396be (diff)
downloadphp-git-39d5a638030a210c35db20502fe45681c1ca9496.tar.gz
- Keep track of starting/ending line numbers for user functions.
- Store last parsed doc comment in a compiler global for future use.
Diffstat (limited to 'Zend/zend_highlight.c')
-rw-r--r--Zend/zend_highlight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_highlight.c b/Zend/zend_highlight.c
index 004999d18d..5e3d657685 100644
--- a/Zend/zend_highlight.c
+++ b/Zend/zend_highlight.c
@@ -97,6 +97,7 @@ ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini
next_color = syntax_highlighter_ini->highlight_html;
break;
case T_COMMENT:
+ case T_DOC_COMMENT:
next_color = syntax_highlighter_ini->highlight_comment;
break;
case T_OPEN_TAG: