diff --git a/modules/parsers/nasm/nasm-parser.c b/modules/parsers/nasm/nasm-parser.c index f95b9546..66779fca 100644 --- a/modules/parsers/nasm/nasm-parser.c +++ b/modules/parsers/nasm/nasm-parser.c @@ -56,8 +56,8 @@ nasm_parser_do_parse(parser *p, objfmt *of, FILE *f) /* Initialize section list */ nasm_parser_cur_section = sections_initialize(&nasm_parser_sections, of); - /* only temporary */ - nasm_parser_debug = 0; + /* yacc debugging, needs YYDEBUG set in bison.y.in to work */ + /* nasm_parser_debug = 1; */ nasm_parser_parse(); diff --git a/modules/parsers/nasm/parser.c b/modules/parsers/nasm/parser.c index f95b9546..66779fca 100644 --- a/modules/parsers/nasm/parser.c +++ b/modules/parsers/nasm/parser.c @@ -56,8 +56,8 @@ nasm_parser_do_parse(parser *p, objfmt *of, FILE *f) /* Initialize section list */ nasm_parser_cur_section = sections_initialize(&nasm_parser_sections, of); - /* only temporary */ - nasm_parser_debug = 0; + /* yacc debugging, needs YYDEBUG set in bison.y.in to work */ + /* nasm_parser_debug = 1; */ nasm_parser_parse(); diff --git a/src/parsers/nasm/nasm-parser.c b/src/parsers/nasm/nasm-parser.c index f95b9546..66779fca 100644 --- a/src/parsers/nasm/nasm-parser.c +++ b/src/parsers/nasm/nasm-parser.c @@ -56,8 +56,8 @@ nasm_parser_do_parse(parser *p, objfmt *of, FILE *f) /* Initialize section list */ nasm_parser_cur_section = sections_initialize(&nasm_parser_sections, of); - /* only temporary */ - nasm_parser_debug = 0; + /* yacc debugging, needs YYDEBUG set in bison.y.in to work */ + /* nasm_parser_debug = 1; */ nasm_parser_parse(); diff --git a/src/parsers/nasm/parser.c b/src/parsers/nasm/parser.c index f95b9546..66779fca 100644 --- a/src/parsers/nasm/parser.c +++ b/src/parsers/nasm/parser.c @@ -56,8 +56,8 @@ nasm_parser_do_parse(parser *p, objfmt *of, FILE *f) /* Initialize section list */ nasm_parser_cur_section = sections_initialize(&nasm_parser_sections, of); - /* only temporary */ - nasm_parser_debug = 0; + /* yacc debugging, needs YYDEBUG set in bison.y.in to work */ + /* nasm_parser_debug = 1; */ nasm_parser_parse();