[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ask for help about bison
From: |
Joel E. Denny |
Subject: |
Re: ask for help about bison |
Date: |
Mon, 19 Apr 2010 22:25:04 -0400 (EDT) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
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.