Unify debugging API for parsing and lexing
This commit is contained in:
parent
7498725d7f
commit
8cf800ef5d
8 changed files with 58 additions and 80 deletions
|
|
@ -5,7 +5,7 @@
|
|||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
static void spy_debug(void *data, const char *msg) {
|
||||
static void spy_debug(void *data, TSDebugType type, const char *msg) {
|
||||
SpyDebugger *debugger = static_cast<SpyDebugger *>(data);
|
||||
debugger->messages.push_back(msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue