From: Stig Bakken Date: Sat, 9 Feb 2002 22:01:00 +0000 (+0000) Subject: * ZTS fix X-Git-Tag: php-4.2.0RC1~389 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5970cfb56ca4fd88320b6abea20bfc39ceaee17e;p=php * ZTS fix # Sebastian, does it build on Windows now? --- diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c index 0e0f5ffdff..9bfb80092f 100644 --- a/ext/tokenizer/tokenizer.c +++ b/ext/tokenizer/tokenizer.c @@ -325,7 +325,7 @@ static void tokenize(zval *return_value) array_init(return_value); ZVAL_NULL(&token); - while ((token_type = lex_scan(&token CLS_CC))) { + while ((token_type = lex_scan(&token TSRMLS_CC))) { destroy = 1; switch (token_type) { case T_OPEN_TAG: @@ -480,7 +480,7 @@ PHP_FUNCTION(token_get_all) return; ZVAL_STRINGL(&source_z, source, source_len, 0); - zend_save_lexical_state(&original_lex_state CLS_CC); + zend_save_lexical_state(&original_lex_state TSRMLS_CC); if (zend_prepare_string_for_scanning(&source_z, "") == FAILURE) { RETURN_EMPTY_STRING(); @@ -488,7 +488,7 @@ PHP_FUNCTION(token_get_all) tokenize(return_value); - zend_restore_lexical_state(&original_lex_state CLS_CC); + zend_restore_lexical_state(&original_lex_state TSRMLS_CC); } /* }}} */