From 54c312e692ac6c30a7188d27f42d7954a25a47cd Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 8 Sep 2020 20:12:17 -0700 Subject: [PATCH] use api.prefix to set HTML parser's prefix Related to #1806. --- lib/common/htmlparse.y | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.40.0