Menu

bison 2.7 option -g generates invalid dot files for GraphViz 2.34

2013-11-21
2013-11-22
  • Heinz Dobler

    Heinz Dobler - 2013-11-21

    The generated dot files (via bison -g ...) contain lines with $ characters as in the example below:
    ...
    4 [label="State 4\n\l 0 $accept: MCC $end .\l"]
    $d -> "$dR$d$s" [style=solid]
    "4R0" [label="Acc", fillcolor=1, shape=diamond, style=filled]
    ...
    What's the problem?
    Best regards
    Heinz

     
    • Alex Zhondin

      Alex Zhondin - 2013-11-22

      Thank you for reported issue.
      Now it should work as expected. Please check.

       
  • Alex Zhondin

    Alex Zhondin - 2013-11-22

    I will check it.
    I used this feature some time ago without any problems though.

     

Log in to post a comment.