projects
/
openwrt-github
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable the automatic config reset if 'Advanced configuration options' is selected
[openwrt-github/.git]
/
scripts
/
config
/
zconf.y
diff --git
a/scripts/config/zconf.y
b/scripts/config/zconf.y
index ce13f0269561fc1e8dea27386669e674913728c2..4b8ba45061b1b879f2dfee20acb6e6742c4fb826 100644
(file)
--- 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());
};
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
};
choice_option: T_DEFAULT T_WORD if_expr T_EOL