X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fzconf.l;h=81c1f40cdee6262a04e6f2e7bbd7301f23cede15;hb=7df515c55fa329c32734a5f93d251170a33f07f5;hp=5b0188a7e9a6f57272d5914e750c112335dfccca;hpb=32b7db1e81500db89a9d4565d49c8ec1eab21fd9;p=carl9170fw.git diff --git a/config/zconf.l b/config/zconf.l index 5b0188a..81c1f40 100644 --- a/config/zconf.l +++ b/config/zconf.l @@ -140,6 +140,9 @@ n [A-Za-z0-9_-] } { + "modules" return T_MODULES; + "defconfig_list" return T_DEFCONFIG_LIST; + "allnoconfig_y" return T_ALLNOCONFIG_Y; "&&" return T_AND; "||" return T_OR; "(" return T_OPEN_PAREN; @@ -261,6 +264,10 @@ n [A-Za-z0-9_-] <> { BEGIN(INITIAL); + if (prev_token != T_EOL && prev_token != T_HELPTEXT) + fprintf(stderr, "%s:%d:warning: no new line at end of file\n", + current_file->name, yylineno); + if (current_file) { zconf_endfile(); return T_EOL;