Unify debugging API for parsing and lexing

This commit is contained in:
Max Brunsfeld 2014-10-17 17:52:54 -07:00
parent 7498725d7f
commit 8cf800ef5d
8 changed files with 58 additions and 80 deletions

View file

@ -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);
}