From: Matthew Fernandez Date: Wed, 16 Sep 2020 01:47:30 +0000 (-0700) Subject: use api.prefix to set gml parser's prefix X-Git-Tag: 2.46.0~20^2^2~70^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f788a0d19500a95b17edf5d6fba18cb97ea7cdb;p=graphviz use api.prefix to set gml parser's prefix Related to #1806. --- diff --git a/cmd/tools/gmlparse.y b/cmd/tools/gmlparse.y index b3dd1b899..c3e3bde86 100644 --- a/cmd/tools/gmlparse.y +++ b/cmd/tools/gmlparse.y @@ -13,6 +13,12 @@ %require "3.0" + /* By default, Bison emits a parser using symbols prefixed with "yy". Graphviz + * contains multiple Bison-generated parsers, so we alter this prefix to avoid + * symbol clashes. + */ +%define api.prefix {gml} + %{ #include #include