diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2011-05-23 02:08:18 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2011-06-09 14:04:43 -0400 |
commit | b96a0d0c78c878db6e6b5c02587ba69973e22d41 (patch) | |
tree | 590529b064b44e4d22f735866aceb9d0219bceda | |
parent | 61f956f576031bea270ea54b10411ebb1e172b1b (diff) | |
download | linux-3.10-b96a0d0c78c878db6e6b5c02587ba69973e22d41.tar.gz linux-3.10-b96a0d0c78c878db6e6b5c02587ba69973e22d41.tar.bz2 linux-3.10-b96a0d0c78c878db6e6b5c02587ba69973e22d41.zip |
kconfig: kill no longer needed reference to YYDEBUG
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
-rw-r--r-- | scripts/kconfig/lkc.h | 2 | ||||
-rw-r--r-- | scripts/kconfig/zconf.y | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index febf0c94d55..f34a0a9b50f 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -68,9 +68,7 @@ struct kconf_id { enum symbol_type stype; }; -#ifdef YYDEBUG extern int zconfdebug; -#endif int zconfparse(void); void zconfdump(FILE *out); diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 98c57167ef7..377d04d832d 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y @@ -31,10 +31,6 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE]; static struct menu *current_menu, *current_entry; -#define YYDEBUG 0 -#if YYDEBUG -#define YYERROR_VERBOSE -#endif %} %expect 30 @@ -503,10 +499,8 @@ void conf_parse(const char *name) modules_sym->flags |= SYMBOL_AUTO; rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); -#if YYDEBUG if (getenv("ZCONF_DEBUG")) zconfdebug = 1; -#endif zconfparse(); if (zconfnerrs) exit(1); @@ -590,9 +584,7 @@ static void zconf_error(const char *err, ...) static void zconferror(const char *err) { -#if YYDEBUG fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err); -#endif } static void print_quoted_string(FILE *out, const char *str) |