Please keep the cc to the Help Bison list, so others can follow.
You have to set it somehow, not just add %locations - Bison cannot
know what values you want to have, as it just reads a stream of
tokens. Bison had broken locations in the past, and and now Akim (I
think) has made some new stuff. But he not reply immediately.
Hans
On 2 Jun 2009, at 23:28, Kynn Jones wrote:
On Tue, Jun 2, 2009 at 5:06 PM, Hans Aberg <hab...@math.su.se> wrote:
On 2 Jun 2009, at 22:27, Kynn Jones wrote:
I can't get Bison locations to work.
Bison now has a %locations option - see this link and its example.
http://lists.gnu.org/archive/html/help-bison/2009-05/msg00040.html
Compile with 'g++' or 'gcc -lstdc++'.
I added the %locations directive, and compiled with g++, but the
resulting behavior is exactly as before.
BTW, I was not able to find any locations-related content in the link
you provided.
But I do appreciate your help.
Kynn
_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison