projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* threaded parser
[m6w6/ext-psi]
/
src
/
token.c
diff --git
a/src/token.c
b/src/token.c
index 1b4cc5ea01026214f9b19b75fd8c441b3259a0af..832b040a08665db86a534f600e90693a1a979b71 100644
(file)
--- 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->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
#if PSI_DEBUG_TOKEN_ALLOC
PSI_DEBUG_PRINT(cpp->parser, "PSI: token_init %p\n", T);
#endif