bug-bison
[Top][All Lists]
Advanced

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

bison 1.875 and bison 2.0 lalr.cc


From: Oleg Smolsky
Subject: bison 1.875 and bison 2.0 lalr.cc
Date: Fri, 2 Sep 2005 14:16:00 +1200

Hi all,

I think I have a couple of issues to report :) Given the following
command:
bison -d -S lalr1.cc -o generated/SomeParser.cpp SomeParser.y

I get two files created in my generated/ directory (which is fine):
SomeParser.cpp
SomeParser.hpp

1) The following files are created in the directory where bison is
run (instead of the given output dir):
location.hh
position.hh
stack.hh

2) newly created SomeParser.cpp contains a #include which has a full
path:
#include "generated/SomeParser.hpp"
(instead of just #include "SomeParser.hpp", which breaks the
compilation. After all, .cpp and .hpp files go together and are
located in the same dir.)

Best regards,
Oleg.





reply via email to

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