Commit b96a0d0c authored by Arnaud Lacombe's avatar Arnaud Lacombe

kconfig: kill no longer needed reference to YYDEBUG

Signed-off-by: default avatarArnaud Lacombe <lacombar@gmail.com>
parent 61f956f5
...@@ -68,9 +68,7 @@ struct kconf_id { ...@@ -68,9 +68,7 @@ struct kconf_id {
enum symbol_type stype; enum symbol_type stype;
}; };
#ifdef YYDEBUG
extern int zconfdebug; extern int zconfdebug;
#endif
int zconfparse(void); int zconfparse(void);
void zconfdump(FILE *out); void zconfdump(FILE *out);
......
...@@ -31,10 +31,6 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE]; ...@@ -31,10 +31,6 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE];
static struct menu *current_menu, *current_entry; static struct menu *current_menu, *current_entry;
#define YYDEBUG 0
#if YYDEBUG
#define YYERROR_VERBOSE
#endif
%} %}
%expect 30 %expect 30
...@@ -503,10 +499,8 @@ void conf_parse(const char *name) ...@@ -503,10 +499,8 @@ void conf_parse(const char *name)
modules_sym->flags |= SYMBOL_AUTO; modules_sym->flags |= SYMBOL_AUTO;
rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL);
#if YYDEBUG
if (getenv("ZCONF_DEBUG")) if (getenv("ZCONF_DEBUG"))
zconfdebug = 1; zconfdebug = 1;
#endif
zconfparse(); zconfparse();
if (zconfnerrs) if (zconfnerrs)
exit(1); exit(1);
...@@ -590,9 +584,7 @@ static void zconf_error(const char *err, ...) ...@@ -590,9 +584,7 @@ static void zconf_error(const char *err, ...)
static void zconferror(const char *err) static void zconferror(const char *err)
{ {
#if YYDEBUG
fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err); fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err);
#endif
} }
static void print_quoted_string(FILE *out, const char *str) static void print_quoted_string(FILE *out, const char *str)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment