summaryrefslogtreecommitdiffhomepage
path: root/bnf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bnf.cpp')
-rw-r--r--bnf.cpp2
1 files changed, 1 insertions, 1 deletions
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");