From c7e3ad29e95c65db7a4b0798c041f8df33f93c22 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 18 Nov 2001 15:53:20 +0000 Subject: [PATCH] Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in). svn path=/trunk/yasm/; revision=339 --- modules/parsers/nasm/nasm-parser.c | 4 ++-- modules/parsers/nasm/parser.c | 4 ++-- src/parsers/nasm/nasm-parser.c | 4 ++-- src/parsers/nasm/parser.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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();