* threaded parser
[m6w6/ext-psi] / src / token.c
index 1b4cc5ea01026214f9b19b75fd8c441b3259a0af..832b040a08665db86a534f600e90693a1a979b71 100644 (file)
@@ -46,7 +46,7 @@ struct psi_token *psi_token_init(token_t token_typ, const char *token_txt,
        T->col = col;
        T->line = line;
        T->file = zend_string_copy(file);
-       T->text = zend_string_init_interned(token_txt, token_len, 1);
+       T->text = psi_string_init_interned(token_txt, token_len, 1);
 #if PSI_DEBUG_TOKEN_ALLOC
        PSI_DEBUG_PRINT(cpp->parser, "PSI: token_init %p\n", T);
 #endif