]> granicus.if.org Git - graphviz/commitdiff
drop compatibility with Yacc, Bison < 3 in gml parser
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 16 Sep 2020 01:24:23 +0000 (18:24 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 22 Sep 2020 14:44:09 +0000 (07:44 -0700)
Other parsers in the tree, e.g. lib/cgraph/grammar.y, already require Bison 3+,
so this does not change build requirements. Related to #1806.

cmd/tools/gmlparse.y

index 47644d705e4276765050649be619454ea5990eb1..b3dd1b899d7a8f3b85767f8eb2edb7ad3edd8caa 100644 (file)
@@ -11,6 +11,8 @@
  * Contributors: See CVS logs. Details at http://www.graphviz.org/
  *************************************************************************/
 
+%require "3.0"
+
 %{
 #include <stdlib.h>
 #include <stddef.h>