diff options
Diffstat (limited to 'scripts/config/zconf.y')
-rw-r--r-- | scripts/config/zconf.y | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/config/zconf.y b/scripts/config/zconf.y index c4de6299e9..d9a9f62cb0 100644 --- a/scripts/config/zconf.y +++ b/scripts/config/zconf.y @@ -430,6 +430,10 @@ depends: T_DEPENDS T_ON expr T_EOL { menu_add_dep($3); printd(DEBUG_PARSE, "%s:%d:depends on\n", zconf_curname(), zconf_lineno()); +} | T_DEPENDS expr T_EOL +{ + menu_add_dep($2); + zconfprint("warning: deprecated 'depends' syntax, use 'depends on' instead."); }; /* visibility option */ |