> On 19 Feb 2019, at 19:35, Akim Demaille <[email protected]> wrote: > >> Le 17 févr. 2019 à 16:19, Akim Demaille <[email protected]> a écrit : >> >>> Le 10 févr. 2019 à 15:20, Hans Åberg <[email protected]> a écrit : >>> >>>> On 10 Feb 2019, at 11:07, Akim Demaille <[email protected]> wrote: >>>> >>>> [*.dot vs. *.gv] >>>> But it's too late to change the default behavior. >>> >>> You might change it, as it is not usable on real life grammars. >> >> You have a point :) >> >> But it does not mean it will not break something for someone. >> Maybe bound to %require "3.4", why not. > > Here is my proposal. Maybe at some point we should change the default for > grammars without %require from *.dot to *.gv. Versions with a %require > before 3.4 would still produce *.dot. > > +** Changes > + > + In conformance with the recommendations of the GraphViz team, if %require > + "3.4" (or better) is specified, the option --graph generates a *.gv file > + by default, instead of *.dot.
If %require is not present in 3.4, then you might generate a .gv file: It would be like the hidden g++ hidden -std that changes with version, so there is a precedent.
