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:
parent
2838aa472e
commit
599fd4e5fb
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
# autoconf-2.57 is preferred, but >= 2.53 should be ok
|
# autoconf-2.57 is preferred, but >= 2.53 should be ok
|
||||||
|
|
||||||
|
AUTOHEADER=autoheader
|
||||||
|
AUTOCONF=autoconf
|
||||||
|
ACLOCAL=aclocal
|
||||||
|
AUTOMAKE=automake
|
||||||
|
|
||||||
if [ "x${AUTOHEADER}" = "x" ]; then
|
if [ "x${AUTOHEADER}" = "x" ]; then
|
||||||
AUTOHEADER="autoheader-2.57"
|
AUTOHEADER="autoheader-2.57"
|
||||||
fi
|
fi
|
||||||
|
|
2
lexer.l
2
lexer.l
|
@ -184,7 +184,7 @@ yes { yylval=new_token(K_YES); return K_YES; }
|
||||||
";" { yylval = NULL; pyytext(); return TKN_SEMI; }
|
";" { yylval = NULL; pyytext(); return TKN_SEMI; }
|
||||||
|
|
||||||
"\n" { lineno++; }
|
"\n" { lineno++; }
|
||||||
[ \t]+ /* ignore whitespace */
|
[ \r\t]+ /* ignore whitespace */
|
||||||
|
|
||||||
c: { fprintf(stderr, "error at %s:%d: possible old-style config file entry\n",
|
c: { fprintf(stderr, "error at %s:%d: possible old-style config file entry\n",
|
||||||
infile, lineno);
|
infile, lineno);
|
||||||
|
|
Loading…
Reference in New Issue