X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Fnumber.c;h=3428905f5a031464d4896d7c0d671dd9394dcbd9;hb=4bf8ff5e477da2fa4f82518bb947055c2c0374d6;hp=10505dfe8988169b229b71de1f509d415e202038;hpb=788909f4828147d22a822b736560c1b3643417ec;p=m6w6%2Fext-psi diff --git a/src/types/number.c b/src/types/number.c index 10505df..3428905 100644 --- a/src/types/number.c +++ b/src/types/number.c @@ -23,7 +23,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ -#include "php_psi_stdinc.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#else +# include "php_config.h" +#endif #include #include @@ -32,6 +36,7 @@ #include "calc.h" #include "call.h" #include "parser.h" +#include "debug.h" #include "Zend/zend_constants.h" #include "Zend/zend_operators.h" @@ -675,7 +680,6 @@ bool psi_number_validate(struct psi_data *data, struct psi_number *exp, case PSI_T_DEFINE: if (scope && scope->cpp && zend_hash_exists(&scope->cpp->defs, exp->data.numb)) { - define: ; if (!scope->macro || !zend_string_equals(scope->macro->token->text, exp->data.numb)) { return true; }