]> granicus.if.org Git - yasm/commitdiff
Don't set nasm_parser_debug (as we'll soon not define YYDEBUG in bison.y.in).
authorPeter Johnson <peter@tortall.net>
Sun, 18 Nov 2001 15:53:20 +0000 (15:53 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 18 Nov 2001 15:53:20 +0000 (15:53 -0000)
svn path=/trunk/yasm/; revision=339

modules/parsers/nasm/nasm-parser.c
modules/parsers/nasm/parser.c
src/parsers/nasm/nasm-parser.c
src/parsers/nasm/parser.c

index f95b9546e41f357f867658b37815c7f628a0e67f..66779fcaed0b1a9070944a96fc96c9971680fdbc 100644 (file)
@@ -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();
 
index f95b9546e41f357f867658b37815c7f628a0e67f..66779fcaed0b1a9070944a96fc96c9971680fdbc 100644 (file)
@@ -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();
 
index f95b9546e41f357f867658b37815c7f628a0e67f..66779fcaed0b1a9070944a96fc96c9971680fdbc 100644 (file)
@@ -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();
 
index f95b9546e41f357f867658b37815c7f628a0e67f..66779fcaed0b1a9070944a96fc96c9971680fdbc 100644 (file)
@@ -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();