From cf56635ebf196c7ad9174f8b8f8e6756950e50c4 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 2 Jan 2009 08:36:09 +0000 Subject: [PATCH] Remove long-obsolete "debug" flag from internal parser structures. svn path=/trunk/yasm/; revision=2167 --- modules/parsers/gas/gas-parser.c | 3 --- modules/parsers/gas/gas-parser.h | 2 -- modules/parsers/nasm/nasm-parser.c | 3 --- modules/parsers/nasm/nasm-parser.h | 2 -- 4 files changed, 10 deletions(-) diff --git a/modules/parsers/gas/gas-parser.c b/modules/parsers/gas/gas-parser.c index de3397c2..98231471 100644 --- a/modules/parsers/gas/gas-parser.c +++ b/modules/parsers/gas/gas-parser.c @@ -81,9 +81,6 @@ gas_parser_do_parse(yasm_object *object, yasm_preproc *pp, parser_gas.is_nasm_preproc = yasm__strcasecmp(((yasm_preproc_base*)pp)->module->keyword, "nasm") == 0; - /* yacc debugging, needs YYDEBUG set in bison.y.in to work */ - parser_gas.debug = 1; - gas_parser_parse(&parser_gas); /* Check for ending inside a rept */ diff --git a/modules/parsers/gas/gas-parser.h b/modules/parsers/gas/gas-parser.h index 3463563f..edb40a8f 100644 --- a/modules/parsers/gas/gas-parser.h +++ b/modules/parsers/gas/gas-parser.h @@ -92,8 +92,6 @@ enum gas_parser_state { }; typedef struct yasm_parser_gas { - int debug; - /*@only@*/ yasm_object *object; /* last "base" label for local (.) labels */ diff --git a/modules/parsers/nasm/nasm-parser.c b/modules/parsers/nasm/nasm-parser.c index ba3263ae..b0ad4b51 100644 --- a/modules/parsers/nasm/nasm-parser.c +++ b/modules/parsers/nasm/nasm-parser.c @@ -63,9 +63,6 @@ nasm_do_parse(yasm_object *object, yasm_preproc *pp, int save_input, parser_nasm.state = INITIAL; - /* yacc debugging, needs YYDEBUG set in bison.y.in to work */ - /* nasm_parser_debug = 1; */ - nasm_parser_parse(&parser_nasm); /*yasm_scanner_delete(&parser_nasm.s);*/ diff --git a/modules/parsers/nasm/nasm-parser.h b/modules/parsers/nasm/nasm-parser.h index 3312027e..e0607a7b 100644 --- a/modules/parsers/nasm/nasm-parser.h +++ b/modules/parsers/nasm/nasm-parser.h @@ -89,8 +89,6 @@ typedef union { typedef struct yasm_parser_nasm { int tasm; - int debug; - /*@only@*/ yasm_object *object; /* last "base" label for local (.) labels */ -- 2.40.0