[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] avrdude.conf and line endings
From: |
E. Weddington |
Subject: |
Re: [avrdude-dev] avrdude.conf and line endings |
Date: |
Thu, 27 Feb 2003 09:57:20 -0700 |
On 27 Feb 2003 at 17:47, Joerg Wunsch wrote:
> As E. Weddington wrote:
>
> Something like:
>
> "Error at avrdude.conf:125 unrecognized character: "
That's the one!
>
> I just committed a new version of lexer.l that ignores \r the same way
> it already used to ignore \t. I think that should solve all these
> issues.
I'll try it out. Thanks.
>
> > If you also wanted it to look for Mac line endings (CR) that would
> > be a bonus.
>
> That would be more difficult. The lexer tries to maintain a line
> counter for error messages like above, thus \n is not being ignored
> but examined. The simplest way would be to have the lexer function
> input() already convert \r to \n on the Mac, should anybody really
> require that.
Well it was just an idea and not necessary. AFAIK there's no request
to have this on the Mac anyway.
Eric