mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
[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:
parent
3370f9f0d9
commit
a02f0570ae
6 changed files with 546 additions and 452 deletions
|
@ -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 = ¤t_entry->list;
|
||||
return current_menu = current_entry;
|
||||
}
|
||||
|
||||
void menu_end_menu(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue