projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kconfig: fix line numbers for if-entries in menu tree
[carl9170fw.git]
/
config
/
zconf.y
diff --git
a/config/zconf.y
b/config/zconf.y
index a4b17758bf1013422d0ea624ebd604092d236c89..0599a847cf88f11a7f124f3dcd884d17d85b1469 100644
(file)
--- a/
config/zconf.y
+++ b/
config/zconf.y
@@
-31,7
+31,7
@@
struct symbol *symbol_hash[SYMBOL_HASHSIZE];
static struct menu *current_menu, *current_entry;
%}
-%expect 3
2
+%expect 3
1
%union
{
@@
-337,7
+337,7
@@
choice_block:
/* if entry */
-if_entry: T_IF expr
nl
+if_entry: T_IF expr
T_EOL
{
printd(DEBUG_PARSE, "%s:%d:if\n", zconf_curname(), zconf_lineno());
menu_add_entry(NULL);