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 <assert.h>
#include "context.h"
#include "call.h"
#include "calc.h"
+#include "debug.h"
struct psi_num_exp *psi_num_exp_init_ternary(token_t op,
struct psi_num_exp *cond, struct psi_num_exp *truthy,
case PSI_T_CAST:
PSI_DUMP(dump, "(");
- psi_decl_type_dump(1, exp->data.c.typ, 0);
+ psi_decl_type_dump(dump, exp->data.c.typ, 0);
PSI_DUMP(dump, ")");
+ psi_num_exp_dump(dump, exp->data.c.num);
break;
case PSI_T_NOT: