#pragma lib
[m6w6/ext-psi] / src / types / cpp_exp.c
index 6b21b75ec6f281e361d603cd64c8c9dbe3f48a02..68fec6ec48d3138a21ee131650580e6b1854a67c 100644 (file)
@@ -96,7 +96,6 @@ void psi_cpp_exp_free(struct psi_cpp_exp **exp_ptr)
                        break;
                case PSI_T_ENDIF:
                case PSI_T_ELSE:
-               case PSI_T_PRAGMA_ONCE:
                        break;
                default:
                        assert(0);
@@ -141,7 +140,6 @@ void psi_cpp_exp_dump(struct psi_dump *dump, struct psi_cpp_exp *exp)
                break;
        case PSI_T_ENDIF:
        case PSI_T_ELSE:
-       case PSI_T_PRAGMA_ONCE:
                break;
        default:
                assert(0);
@@ -330,11 +328,6 @@ void psi_cpp_exp_exec(struct psi_cpp_exp *exp, struct psi_cpp *cpp, struct psi_d
                        }
                }
                break;
-       case PSI_T_PRAGMA_ONCE:
-               if (!cpp->skip) {
-                       zend_hash_add_empty_element(&cpp->once, exp->token->file);
-               }
-               break;
        default:
                assert(0);
                break;