diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-30 07:43:02 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-30 07:43:02 +0000 |
commit | 4187439cfffdbb2573453ea41a3c344632405f47 (patch) | |
tree | 747e0707e4786abb924df4fdf397abfbb006c160 /Zend/zend_highlight.c | |
parent | 797a079a95585a07bc7f26a79e04521d3b370177 (diff) | |
download | php-git-4187439cfffdbb2573453ea41a3c344632405f47.tar.gz |
More TSRMLS_FETCH work
Diffstat (limited to 'Zend/zend_highlight.c')
-rw-r--r-- | Zend/zend_highlight.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_highlight.c b/Zend/zend_highlight.c index dee5a30e0e..c8af224c60 100644 --- a/Zend/zend_highlight.c +++ b/Zend/zend_highlight.c @@ -81,14 +81,13 @@ ZEND_API void zend_html_puts(char *s, uint len) -ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini) +ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini TSRMLS_DC) { zval token; int token_type; char *last_color = syntax_highlighter_ini->highlight_html; char *next_color; int in_string=0; - TSRMLS_FETCH(); zend_printf("<code>"); zend_printf("<font color=\"%s\">\n", last_color); |