From 2671f6800090affb2f89d5b2932df4450e1d7507 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 19 Jul 2020 16:48:13 +0200 Subject: Fix extension name --- bnf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bnf.cpp') diff --git a/bnf.cpp b/bnf.cpp index b2d0472..8f75eba 100644 --- a/bnf.cpp +++ b/bnf.cpp @@ -93,7 +93,7 @@ BNF removeHeadRecursion(const BNF& bnf) for (const auto& [from, to]: bnf) { if (isHeadRecursive(to, from)) { // modify rule by adding additional one - std::string from_ext = from + "-ext"; + std::string from_ext = from + "-EXT"; if (bnf.find(from_ext) != bnf.end()) throw std::runtime_error("ICE: Symbol "s + from_ext + " already exists in original BNF"); -- cgit v1.2.3