cpp
[m6w6/ext-psi] / src / types / assert_stmt.c
index 084f9fc192431803b12d1c99d8875bf27fe4b93f..ba86758d70254cc18c32b826d0b38e0b11cc93f3 100644 (file)
@@ -62,7 +62,7 @@ void psi_assert_stmt_dump(int fd, struct psi_assert_stmt *stmt)
 bool psi_assert_stmt_exec(struct psi_assert_stmt *stmt, struct psi_call_frame *frame)
 {
        impl_val res, chk;
 bool psi_assert_stmt_exec(struct psi_assert_stmt *stmt, struct psi_call_frame *frame)
 {
        impl_val res, chk;
-       token_t res_type = psi_num_exp_exec(stmt->exp, &res, frame);
+       token_t res_type = psi_num_exp_exec(stmt->exp, &res, frame, NULL);
 
        psi_calc_cast(res_type, &res, PSI_T_UINT8, &chk);
        return chk.u8;
 
        psi_calc_cast(res_type, &res, PSI_T_UINT8, &chk);
        return chk.u8;