Ignore \r as white space, to make the Windows people happy.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@241 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch 2003-02-27 16:42:56 +00:00
parent bc8d778632
commit da3b460be6
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,11 @@
# autoconf-2.57 is preferred, but >= 2.53 should be ok
AUTOHEADER=autoheader
AUTOCONF=autoconf
ACLOCAL=aclocal
AUTOMAKE=automake
if [ "x${AUTOHEADER}" = "x" ]; then
AUTOHEADER="autoheader-2.57"
fi

View File

@ -184,7 +184,7 @@ yes { yylval=new_token(K_YES); return K_YES; }
";" { yylval = NULL; pyytext(); return TKN_SEMI; }
"\n" { lineno++; }
[ \t]+ /* ignore whitespace */
[ \r\t]+ /* ignore whitespace */
c: { fprintf(stderr, "error at %s:%d: possible old-style config file entry\n",
infile, lineno);