summaryrefslogtreecommitdiff
path: root/scripts/kconfig/zconf.y
authorkergoth <kergoth>2003-01-16 18:04:11 (UTC)
committer kergoth <kergoth>2003-01-16 18:04:11 (UTC)
commit3904d85eac20dfd21cf2a3245977f9946865fd92 (patch) (side-by-side diff)
tree8d5b2217c1b54a0c439815ec02db3f5235c99daa /scripts/kconfig/zconf.y
parent0eec393ef2dd8b43db96c86e80e307f73a771fae (diff)
downloadopie-3904d85eac20dfd21cf2a3245977f9946865fd92.zip
opie-3904d85eac20dfd21cf2a3245977f9946865fd92.tar.gz
opie-3904d85eac20dfd21cf2a3245977f9946865fd92.tar.bz2
Update LinuxKernelConf to 1.3, latest available.
Diffstat (limited to 'scripts/kconfig/zconf.y') (more/less context) (show whitespace changes)
-rw-r--r--scripts/kconfig/zconf.y6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
index c3f1bd0..996b10a 100644
--- a/scripts/kconfig/zconf.y
+++ b/scripts/kconfig/zconf.y
@@ -227,10 +227,9 @@ choice_option: T_OPTIONAL
printd(DEBUG_PARSE, "%s:%d:optional\n", zconf_curname(), zconf_lineno());
};
-choice_option: T_DEFAULT symbol
+choice_option: T_DEFAULT symbol if_expr
{
- menu_add_prop(P_DEFAULT, NULL, $2, NULL);
- //current_choice->prop->def = $2;
+ menu_add_prop(P_DEFAULT, NULL, $2, $3);
printd(DEBUG_PARSE, "%s:%d:default\n", zconf_curname(), zconf_lineno());
};
@@ -245,7 +244,6 @@ if: T_IF expr
{
printd(DEBUG_PARSE, "%s:%d:if\n", zconf_curname(), zconf_lineno());
menu_add_entry(NULL);
- //current_entry->prompt = menu_add_prop(T_IF, NULL, NULL, $2);
menu_add_dep($2);
menu_end_entry();
menu_add_menu();