From: Peter Johnson Date: Sun, 18 Nov 2001 15:53:20 +0000 (-0000) Subject: Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in). X-Git-Tag: v0.1.0~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7e3ad29e95c65db7a4b0798c041f8df33f93c22;p=yasm Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in). svn path=/trunk/yasm/; revision=339 --- 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();