+ case PSI_T_IMPORT:
+ if (!cpp->skip) {
+ if (!psi_cpp_include(cpp, exp->data.tok, PSI_CPP_INCLUDE_ONCE)) {
+ D->error(D, exp->token, PSI_WARNING, "Failed to include once %s: %s",
+ exp->data.tok->text->val, strerror(errno));
+ }
+ }
+ break;
+ case PSI_T_PRAGMA_ONCE:
+ if (!cpp->skip) {
+ zend_hash_add_empty_element(&cpp->once, exp->token->file);
+ }
+ break;