only enable printf_debug in lexer and parser in babeltrace debug
[babeltrace.git] / formats / ctf / metadata / ctf-parser-test.c
index b99817e02d4374719e58545d9db9e0c8f16febf0..fdde409e0ee114bbb98ecc4f230e9dbc5faddeac 100644 (file)
@@ -26,7 +26,7 @@
 #include "ctf-parser.h"
 #include "ctf-ast.h"
 
-extern int yydebug;
+int babeltrace_verbose, babeltrace_debug;
 
 int main(int argc, char **argv)
 {
@@ -34,7 +34,7 @@ int main(int argc, char **argv)
        struct ctf_trace *trace;
        int ret = 0;
 
-       yydebug = 1;
+       babeltrace_debug = 1;
        scanner = ctf_scanner_alloc(stdin);
        if (!scanner) {
                fprintf(stdout, "Error allocating scanner\n");
This page took 0.02311 seconds and 4 git commands to generate.