bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11419: Get rid of ylwrap, and simplify yacc/lex rules


From: Eric Blake
Subject: bug#11419: Get rid of ylwrap, and simplify yacc/lex rules
Date: Tue, 08 May 2012 08:21:05 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

[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   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]