From: Matthew Fernandez Date: Thu, 27 Aug 2020 00:32:14 +0000 (-0700) Subject: drop compatibility with Yacc, Bison < 3 in lib/cgraph/grammar.y X-Git-Tag: 2.46.0~20^2^2~99^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a13c9598ad3d950a251e5d3e5be8d05c59c6214;p=graphviz drop compatibility with Yacc, Bison < 3 in lib/cgraph/grammar.y This will allow us to use api.prefix with brace syntax in an upcoming commit. Bison 3.0 was released in July 2013 [0], so this seems an acceptable base line requirement from now on. [0]: http://savannah.gnu.org/forum/forum.php?forum_id=7663 --- diff --git a/lib/cgraph/grammar.y b/lib/cgraph/grammar.y index c08967720..737b147fe 100644 --- a/lib/cgraph/grammar.y +++ b/lib/cgraph/grammar.y @@ -11,6 +11,8 @@ * Contributors: See CVS logs. Details at http://www.graphviz.org/ *************************************************************************/ +%require "3.0" + %{ #include /* SAFE */