summaryrefslogtreecommitdiff
path: root/Zend/zend_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_globals.h')
-rw-r--r--Zend/zend_globals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_globals.h b/Zend/zend_globals.h
index 3a4f0c1940..fbbf503c41 100644
--- a/Zend/zend_globals.h
+++ b/Zend/zend_globals.h
@@ -292,7 +292,8 @@ struct _zend_php_scanner_globals {
int scanned_string_len;
/* hooks */
- void (* on_event)(zend_php_scanner_event event, int token, int line);
+ void (*on_event)(zend_php_scanner_event event, int token, int line, void *context);
+ void *on_event_context;
};
#endif /* ZEND_GLOBALS_H */