Zend/zend_compile: include cleanup

This commit is contained in:
Max Kellermann 2023-01-04 09:21:39 +01:00 committed by George Peter Banyard
parent 29b2dc8964
commit 72dd94e1c6
2 changed files with 18 additions and 20 deletions

View file

@ -18,23 +18,23 @@
+----------------------------------------------------------------------+ +----------------------------------------------------------------------+
*/ */
#include <zend_language_parser.h>
#include "zend.h"
#include "zend_attributes.h"
#include "zend_compile.h" #include "zend_compile.h"
#include "zend_API.h" // for zend_get_object_type()
#include "zend_arena.h"
#include "zend_attributes.h"
#include "zend_constants.h" #include "zend_constants.h"
#include "zend_llist.h"
#include "zend_API.h"
#include "zend_exceptions.h"
#include "zend_interfaces.h"
#include "zend_virtual_cwd.h"
#include "zend_multibyte.h"
#include "zend_language_scanner.h"
#include "zend_inheritance.h"
#include "zend_vm.h"
#include "zend_enum.h" #include "zend_enum.h"
#include "zend_observer.h" #include "zend_exceptions.h" // for zend_throw_exception_ex()
#include "zend_call_stack.h" #include "zend_globals.h" // struct _zend_compiler_globals
#include "zend_globals_macros.h" // for CG()
#include "zend_inheritance.h" // for zend_do_link_class()
#include "zend_language_parser.h"
#include "zend_language_scanner.h"
#include "zend_list.h" // for zend_init_rsrc_list()
#include "zend_observer.h" // for zend_observer_function_declared_notify()
#include "zend_type_info.h" // for MAY_BE_*
#include "zend_virtual_cwd.h" // for IS_SLASH_P, DEFAULT_SLASH
#include "zend_vm.h" // for ZEND_VM_SET_OPCODE_HANDLER()
#define SET_NODE(target, src) do { \ #define SET_NODE(target, src) do { \
target ## _type = (src)->op_type; \ target ## _type = (src)->op_type; \

View file

@ -20,12 +20,12 @@
#ifndef ZEND_COMPILE_H #ifndef ZEND_COMPILE_H
#define ZEND_COMPILE_H #define ZEND_COMPILE_H
#include "zend.h" #include "zend.h" // for INTERNAL_FUNCTION_PARAMETERS
#include "zend_ast.h" #include "zend_ast.h"
#include "zend_portability.h" //for ZEND_FASTCALL
#include "zend_types.h" // for zend_uchar
#include <stdarg.h> #include <stdint.h>
#include "zend_llist.h"
#define SET_UNUSED(op) do { \ #define SET_UNUSED(op) do { \
op ## _type = IS_UNUSED; \ op ## _type = IS_UNUSED; \
@ -758,8 +758,6 @@ struct _zend_execute_data {
#define ZEND_EXTRA_VALUE 1 #define ZEND_EXTRA_VALUE 1
#include "zend_globals.h"
typedef enum _zend_compile_position { typedef enum _zend_compile_position {
ZEND_COMPILE_POSITION_AT_SHEBANG = 0, ZEND_COMPILE_POSITION_AT_SHEBANG = 0,
ZEND_COMPILE_POSITION_AT_OPEN_TAG, ZEND_COMPILE_POSITION_AT_OPEN_TAG,