X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcpp.c;h=49cf041b6e2b4606d8877cbe30a1f68f5ce330ea;hp=9daca1bf84b49c9ec14fe67ee11cab4a38bb5729;hb=fb8f7887c289ae74d6e8dd85d55ae09e6796e890;hpb=a0f437f26cd0f121ee911a55327a68a3544bf15f diff --git a/src/cpp.c b/src/cpp.c index 9daca1b..49cf041 100644 --- a/src/cpp.c +++ b/src/cpp.c @@ -32,7 +32,7 @@ #define PSI_CPP_SEARCH #define PSI_CPP_PREDEF -#include "php_psi_cpp.h" +#include "php_psi_predef.h" #include "php_psi.h" @@ -202,7 +202,7 @@ static bool psi_cpp_stage1(struct psi_cpp *cpp) no_ws->type = PSI_T_NO_WHITESPACE; zend_string_release(no_ws->text); - no_ws->text = zend_string_init_interned("\xA0", 1, 1); + no_ws->text = psi_string_init_interned("\xA0", 1, 1); psi_cpp_tokiter_add(cpp, no_ws); continue; }