help-bison
[Top][All Lists]
Advanced

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

Re: bison info doc - precedence in recursive parsing


From: Akim Demaille
Subject: Re: bison info doc - precedence in recursive parsing
Date: Sun, 10 Feb 2019 11:07:38 +0100

> Le 10 févr. 2019 à 00:12, Hans Åberg <address@hidden> a écrit :
> 
> 
>> On 4 Feb 2019, at 07:32, Akim Demaille <address@hidden> wrote:
>> 
>> Make a full example, feed it to bison with --graph, and look at the 
>> resulting graph.  You should understand what is going on (provided you 
>> understand how LR parsers work).
> 
> According to [1], .gv is preferred as .dot can be confused with another 
> format (for example, Xcode does).
> 
> 1. https://en.wikipedia.org/wiki/DOT_(graph_description_language)

Yes, I know, and that's what I do, as you have noticed in the Makefile.

%.c %.h %.xml %.gv: %.y
        $(BISON) $(BISONFLAGS) --defines --xml --graph=$*.gv -o $*.c $<

But it's too late to change the default behavior.


reply via email to

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