From: Matthew Fernandez Date: Wed, 9 Sep 2020 03:12:17 +0000 (-0700) Subject: use api.prefix to set HTML parser's prefix X-Git-Tag: 2.46.0~20^2^2~80^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54c312e692ac6c30a7188d27f42d7954a25a47cd;p=graphviz use api.prefix to set HTML parser's prefix Related to #1806. --- diff --git a/lib/common/htmlparse.y b/lib/common/htmlparse.y index 0e07cf6a1..715aa91f6 100644 --- a/lib/common/htmlparse.y +++ b/lib/common/htmlparse.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 {html} + %{ #include