On Thu, 15 Apr 2010, isaacson wang wrote:

> I using bison(2.3) to handle a .ypp file :
> 
> bison --skeleton=oaSpefParser.skl --name-prefix=Parser --defines
> --file-prefix=oaSpefParser --report=itemset --verbose
> --output=oaSpefParser.cpp oaSpefParser.ypp
> In "oaSpefParser.skl" there are some marcos "b4_XXX", defined in c.m4 in the
> same directory.
> But after handling, marcos "b4_XXX" appeared in output file
> oaSpefParser.cpp.
> But when i used bison(1.875c), the marcos were handled. Why?

The Bison skeleton interface is not yet stable enough to guarantee 
backward compatibility.  You will have to update oaSpefParser.skl.  To 
figure out how to do so, you can look for changes in the included 
skeletons, such as yacc.c or glr.c.


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to