[PATCH] kconfig: improve error handling in the parser

Add a few error tokens to the parser to catch common errors and print more
descriptive error messages.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Roman Zippel 2005-11-08 21:34:53 -08:00 committed by Linus Torvalds
parent 3370f9f0d9
commit a02f0570ae
6 changed files with 546 additions and 452 deletions

View file

@ -61,10 +61,11 @@ void menu_end_entry(void)
{
}
void menu_add_menu(void)
struct menu *menu_add_menu(void)
{
current_menu = current_entry;
menu_end_entry();
last_entry_ptr = &current_entry->list;
return current_menu = current_entry;
}
void menu_end_menu(void)