projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
administrativa
[m6w6/ext-psi]
/
src
/
token.c
diff --git
a/src/token.c
b/src/token.c
index 5dbb2eccad9df30bb227ac5157c656a4379f5756..316c734384843e16e275face12f3c9c81cf382ad 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(token_txt, token_len, 1);
+ T->text = zend_string_init
_interned
(token_txt, token_len, 1);
#if PSI_DEBUG_TOKEN_ALLOC
fprintf(stderr, "PSI: token_init %p\n", T);
#endif
#if PSI_DEBUG_TOKEN_ALLOC
fprintf(stderr, "PSI: token_init %p\n", T);
#endif