X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fzconf.l;h=960b1e693ed748a88d20f9c57bb3f7f410084a2e;hb=b5b81a87c764e579256cb533ed5ace8315e9ceff;hp=a0eec5ae617684b06f8f44c3ca7d2ac403ec37b8;hpb=1d239e9d330cd5f0af9c964c6380b78133e2f625;p=carl9170fw.git diff --git a/config/zconf.l b/config/zconf.l index a0eec5a..960b1e6 100644 --- a/config/zconf.l +++ b/config/zconf.l @@ -27,8 +27,8 @@ static char *text; static int text_size, text_asize; struct buffer { - struct buffer *parent; - YY_BUFFER_STATE state; + struct buffer *parent; + YY_BUFFER_STATE state; }; struct buffer *current_buf; @@ -141,7 +141,12 @@ n [A-Za-z0-9_] } #.* /* comment */ \\\n current_file->lineno++; - . + [[:blank:]]+ + . { + fprintf(stderr, + "%s:%d:warning: ignoring unsupported character '%c'\n", + zconf_curname(), zconf_lineno(), *yytext); + } <> { BEGIN(INITIAL); }