X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ftoken.c;fp=src%2Ftoken.c;h=832b040a08665db86a534f600e90693a1a979b71;hp=1b4cc5ea01026214f9b19b75fd8c441b3259a0af;hb=f76cbab7698c988217d56a96f3ef68005cddd5ec;hpb=d4bd55e7d9b1cf63cd6fdc96b70010a0c2aca963 diff --git a/src/token.c b/src/token.c index 1b4cc5e..832b040 100644 --- a/src/token.c +++ b/src/token.c @@ -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