diff options
Diffstat (limited to 'Zend/zend_compile.c')
| -rw-r--r-- | Zend/zend_compile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index ec95fd0d9c..fc77c6ad2f 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -584,7 +584,9 @@ static int zend_add_const_name_literal(zend_op_array *op_array, zend_string *nam void zend_stop_lexing(void) { - if(LANG_SCNG(on_event)) LANG_SCNG(on_event)(ON_STOP, END, 0); + if (LANG_SCNG(on_event)) { + LANG_SCNG(on_event)(ON_STOP, END, 0, LANG_SCNG(on_event_context)); + } LANG_SCNG(yy_cursor) = LANG_SCNG(yy_limit); } |
