This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: dlltool emits extraneous CRs when using def file with CRLF endings
- From: Yitzchak Scott-Thoennes <sthoenna at efn dot org>
- To: binutils at sourceware dot org
- Date: Sun, 15 May 2005 18:54:27 -0700
- Subject: Re: dlltool emits extraneous CRs when using def file with CRLF endings
- References: <20050513015255.GA3832@efn.org> <20050515190924.GA2964@efn.org> <20050516010953.GB25621@trixie.casa.cgf.cx>
On Sun, May 15, 2005 at 09:09:53PM -0400, Christopher Faylor wrote:
> On Sun, May 15, 2005 at 12:10:36PM -0700, Yitzchak Scott-Thoennes wrote:
> >This patch fixes it for me:
> >--- binutils-20041229-1/binutils/deflex.l.orig 2005-05-15 12:03:31.295483200 -0700
> >+++ binutils-20041229-1/binutils/deflex.l 2005-05-15 12:03:38.105275000 -0700
> >@@ -81,6 +81,7 @@
> > ";".* { }
> > " " { }
> > "\t" { }
> >+"\r" { }
> > "\n" { linenumber ++ ;}
> > "=" { return '=';}
> > "." { return '.';}
>
> Could you forward this patch (with ChangeLog) to binutils AT sourceware PERIOD org?
Certainly.
2005-05-15 Yitzchak Scott-Thoennes <sthoenna@efn.org>
* deflex.l: Ignore CRs
--- binutils-20041229-1/binutils/deflex.l.orig 2005-05-15 12:03:31.295483200 -0700
+++ binutils-20041229-1/binutils/deflex.l 2005-05-15 12:03:38.105275000 -0700
@@ -81,6 +81,7 @@
";".* { }
" " { }
"\t" { }
+"\r" { }
"\n" { linenumber ++ ;}
"=" { return '=';}
"." { return '.';}