diff options
Diffstat (limited to 'scripts/kconfig/zconf.y')
-rw-r--r-- | scripts/kconfig/zconf.y | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 54460f8d3696..e1a0f455d4a8 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y | |||
@@ -342,7 +342,7 @@ if_block: | |||
342 | menu: T_MENU prompt T_EOL | 342 | menu: T_MENU prompt T_EOL |
343 | { | 343 | { |
344 | menu_add_entry(NULL); | 344 | menu_add_entry(NULL); |
345 | menu_add_prop(P_MENU, $2, NULL, NULL); | 345 | menu_add_prompt(P_MENU, $2, NULL); |
346 | printd(DEBUG_PARSE, "%s:%d:menu\n", zconf_curname(), zconf_lineno()); | 346 | printd(DEBUG_PARSE, "%s:%d:menu\n", zconf_curname(), zconf_lineno()); |
347 | }; | 347 | }; |
348 | 348 | ||
@@ -392,7 +392,7 @@ source_stmt: source | |||
392 | comment: T_COMMENT prompt T_EOL | 392 | comment: T_COMMENT prompt T_EOL |
393 | { | 393 | { |
394 | menu_add_entry(NULL); | 394 | menu_add_entry(NULL); |
395 | menu_add_prop(P_COMMENT, $2, NULL, NULL); | 395 | menu_add_prompt(P_COMMENT, $2, NULL); |
396 | printd(DEBUG_PARSE, "%s:%d:comment\n", zconf_curname(), zconf_lineno()); | 396 | printd(DEBUG_PARSE, "%s:%d:comment\n", zconf_curname(), zconf_lineno()); |
397 | }; | 397 | }; |
398 | 398 | ||
@@ -443,7 +443,7 @@ prompt_stmt_opt: | |||
443 | /* empty */ | 443 | /* empty */ |
444 | | prompt if_expr | 444 | | prompt if_expr |
445 | { | 445 | { |
446 | menu_add_prop(P_PROMPT, $1, NULL, $2); | 446 | menu_add_prompt(P_PROMPT, $1, $2); |
447 | }; | 447 | }; |
448 | 448 | ||
449 | prompt: T_WORD | 449 | prompt: T_WORD |
@@ -487,7 +487,7 @@ void conf_parse(const char *name) | |||
487 | sym_init(); | 487 | sym_init(); |
488 | menu_init(); | 488 | menu_init(); |
489 | modules_sym = sym_lookup("MODULES", 0); | 489 | modules_sym = sym_lookup("MODULES", 0); |
490 | rootmenu.prompt = menu_add_prop(P_MENU, "Linux Kernel Configuration", NULL, NULL); | 490 | rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); |
491 | 491 | ||
492 | //zconfdebug = 1; | 492 | //zconfdebug = 1; |
493 | zconfparse(); | 493 | zconfparse(); |