line directives from bison

Michael O'Brien
Mon Mar 27 08:52:00 GMT 2000


When using bison, the line directives, which are on by default, from the
command prompt, the resulting file contains:

#line 1 "f:\dir\file"

which is bogus (the \ need to be escaped). So, my options are to either run
the result through sed replacing '\' with "\\" or not use line directives
(which make debugging quite a pain)

I'm using the 20.1 version of cygnus. Anyone know if this bug is going to be
fixed anytime soon?


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list