> Le 10 févr. 2019 à 00:12, Hans Åberg <[email protected]> a écrit :
>
>
>> On 4 Feb 2019, at 07:32, Akim Demaille <[email protected]> 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.
_______________________________________________
[email protected] https://lists.gnu.org/mailman/listinfo/help-bison