From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: bug#21829: guix import hackage failures Date: Thu, 12 Nov 2015 17:54:48 +0100 Message-ID: References: <87d1vghjhk.fsf@gnu.org> <87vb971t74.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwv9O-00063n-QA for bug-guix@gnu.org; Thu, 12 Nov 2015 11:55:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwv9K-00072i-R6 for bug-guix@gnu.org; Thu, 12 Nov 2015 11:55:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwv9K-00072e-Nh for bug-guix@gnu.org; Thu, 12 Nov 2015 11:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zwv9K-00085w-IB for bug-guix@gnu.org; Thu, 12 Nov 2015 11:55:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87vb971t74.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 21829@debbugs.gnu.org On Thu, Nov 12, 2015 at 10:07 AM, Ludovic Court=C3=A8s wrote= : > Federico Beffa skribis: > I wonder if it wouldn=E2=80=99t be easier to change the lexer to recogniz= e line > feeds are white space or newlines, maybe along these lines: What you suggest is not enough. You have to tweak a couple of other places as well. I don't like having to mess around in token recognition code to account for different eol styles. With my proposal I was trying to abstract this away and make the eol style problem orthogonal to parsing: first we convert to a "normal form" and then we operate on it. Should we find some files in 'mac' eol-style (in Emacs parlance) then it would be trivial to adapt. Could you be more explicit about what you do not like about this? Regards, Fede