summaryrefslogtreecommitdiffstats
path: root/scripts/config/zconf.y
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-04 16:02:41 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-04 16:02:41 +0000
commit2cd10271b8414588da9e37793eb25ad182683cb8 (patch)
treefd3bd6c9a5dff4a07a9e09bada2fe7c2531e027f /scripts/config/zconf.y
parentff54f54165647c82f057a6d2f3a14e8a0be187cd (diff)
disable the automatic config reset if 'Advanced configuration options' is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6506 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config/zconf.y')
-rw-r--r--scripts/config/zconf.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/config/zconf.y b/scripts/config/zconf.y
index ce13f0269..4b8ba4506 100644
--- a/scripts/config/zconf.y
+++ b/scripts/config/zconf.y
@@ -275,9 +275,9 @@ choice_option: T_OPTIONAL T_EOL
printd(DEBUG_PARSE, "%s:%d:optional\n", zconf_curname(), zconf_lineno());
};
-choice_option: T_RESET T_EOL
+choice_option: T_RESET if_expr T_EOL
{
- current_entry->sym->flags |= SYMBOL_RESET;
+ menu_add_prop(P_RESET, NULL, NULL, $2);
};
choice_option: T_DEFAULT T_WORD if_expr T_EOL