diff options
author | Stig Bakken <ssb@php.net> | 2002-02-09 22:01:00 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2002-02-09 22:01:00 +0000 |
commit | 5970cfb56ca4fd88320b6abea20bfc39ceaee17e (patch) | |
tree | 10b3413429a2de8cb7487516c480391f8e908af7 /ext/tokenizer | |
parent | 9d76c72e80c45d12cfb106b1e7972a6f7ffb9a03 (diff) | |
download | php-git-5970cfb56ca4fd88320b6abea20bfc39ceaee17e.tar.gz |
* ZTS fix
# Sebastian, does it build on Windows now?
Diffstat (limited to 'ext/tokenizer')
-rw-r--r-- | ext/tokenizer/tokenizer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } /* }}} */ |