diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-06-08 20:34:30 +0000 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-06-08 20:34:30 +0000 |
commit | 4c79fe6afa25c87f89b46d48968fdaf36b085f8c (patch) | |
tree | 33df9fedb4e0eb1cba0b566ecb594fb2ccd22b7a /phpdbg.h | |
parent | 7b9367971d9523bc53d44cbe71498a95bd5e523b (diff) | |
download | php-git-4c79fe6afa25c87f89b46d48968fdaf36b085f8c.tar.gz |
Updated parser & leer to be usable with re2c
Fixes some weird temporary compilation errors too
Diffstat (limited to 'phpdbg.h')
-rw-r--r-- | phpdbg.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -69,11 +69,14 @@ # include <readline/history.h> #endif +#include "phpdbg_lexer.h" #include "phpdbg_cmd.h" #include "phpdbg_utils.h" #include "phpdbg_btree.h" #include "phpdbg_watch.h" +int phpdbg_do_parse(phpdbg_param_t *stack, char *input TSRMLS_DC); + #ifdef ZTS # define PHPDBG_G(v) TSRMG(phpdbg_globals_id, zend_phpdbg_globals *, v) #else @@ -176,10 +179,12 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg) phpdbg_frame_t frame; /* frame */ zend_uint last_line; /* last executed line */ + phpdbg_lexer_data lexer; /* lexer data */ + phpdbg_param_t *parser_stack; /* param stack during lexer / parser phase */ + #ifndef _WIN32 struct sigaction old_sigsegv_signal; /* segv signal handler */ #endif - phpdbg_btree watchpoint_tree; /* tree with watchpoints */ phpdbg_btree watch_HashTables; /* tree with original dtors of watchpoints */ HashTable watchpoints; /* watchpoints */ |