summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-08-15 16:44:40 +0000
committerZeev Suraski <zeev@php.net>2000-08-15 16:44:40 +0000
commit7795aca4ca2c7e5ec8520ee1e72b9810b8654c7d (patch)
treecd8a41e54995665c5aa0d9b5145b028a31f743e5 /Zend/zend_compile.h
parent28273dfaa286d3fca0d0cacf5b44237227c9bec5 (diff)
downloadphp-git-7795aca4ca2c7e5ec8520ee1e72b9810b8654c7d.tar.gz
Fix warning issue (compile errors inside require()'d files were incorrectly supressed)
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index c0f64c3880..64b54ff0bc 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -212,7 +212,7 @@ BEGIN_EXTERN_C()
void init_compiler(CLS_D ELS_DC);
void shutdown_compiler(CLS_D);
-extern ZEND_API zend_op_array *(*zend_compile_file)(zend_file_handle *file_handle CLS_DC);
+extern ZEND_API zend_op_array *(*zend_compile_file)(zend_file_handle *file_handle, int type CLS_DC);
void zend_activate(CLS_D ELS_DC);
void zend_deactivate(CLS_D ELS_DC);
@@ -375,7 +375,7 @@ ZEND_API void function_add_ref(zend_function *function);
/* helper functions in zend-scanner.l */
-ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle CLS_DC);
+ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type CLS_DC);
ZEND_API zend_op_array *compile_string(zval *source_string CLS_DC);
ZEND_API zend_op_array *compile_filename(int type, zval *filename CLS_DC ELS_DC);
ZEND_API int zend_execute_scripts(int type CLS_DC ELS_DC, int file_count, ...);