projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
gitignore
[m6w6/ext-psi]
/
src
/
types
/
num_exp.c
diff --git
a/src/types/num_exp.c
b/src/types/num_exp.c
index ce89de515800786d2420a7d62de00869593da2da..34624204bec91d0b92f20958766cb0d3d0010249 100644
(file)
--- a/
src/types/num_exp.c
+++ b/
src/types/num_exp.c
@@
-23,7
+23,11
@@
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/
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 <assert.h>
@@
-31,6
+35,7
@@
#include "context.h"
#include "call.h"
#include "calc.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,
struct psi_num_exp *psi_num_exp_init_ternary(token_t op,
struct psi_num_exp *cond, struct psi_num_exp *truthy,
@@
-389,8
+394,9
@@
void psi_num_exp_dump(struct psi_dump *dump, struct psi_num_exp *exp)
case PSI_T_CAST:
PSI_DUMP(dump, "(");
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_DUMP(dump, ")");
+ psi_num_exp_dump(dump, exp->data.c.num);
break;
case PSI_T_NOT:
break;
case PSI_T_NOT: