GNU bug report logs - #11419
Get rid of ylwrap, and simplify yacc/lex rules (was: Re: FYI: maint: fix the generation of the synclines for bison's parser)

Previous Next

Package: automake;

Reported by: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Date: Sun, 6 May 2012 10:41:02 UTC

Severity: wishlist

Tags: wontfix

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Akim Demaille <akim.demaille <at> gmail.com>
Cc: bug-gnulib <bug-gnulib <at> gnu.org>, 11419 <at> debbugs.gnu.org, Stefano Lattarini <stefano.lattarini <at> gmail.com>, bison-patches <at> gnu.org, Coreutils <coreutils <at> gnu.org>
Subject: bug#11419: Get rid of ylwrap, and simplify yacc/lex rules
Date: Tue, 08 May 2012 08:21:05 -0600
[Message part 1 (text/plain, inline)]
[adding coreutils, bug-gnulib]

On 05/08/2012 04:48 AM, Akim Demaille wrote:

> This is why bison gets (in my VPATH-build where builddir is two
> levels down inside srcdir):
> 
> #line 277 "parse-gram.y"
> #line 2271 "../../../src/parse-gram.c"
> 
> with a properly computed relative path, it should be
> "parse-gram.c".  This is what the patch was fixing.
> 
> This is painful and regularly results in Emacs not being able
> to find the file where the error occurred.
> 
> This should be fixed before 2.5.1 imho.  I'll see if gnulib
> offers something to compute relative paths.

Coreutils has code to compute relative paths; used by both 'realpath'
and 'ln'; maybe it's time to graduate that to a full-blown gnulib module
now that we want to use it elsewhere.

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 12 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.