summaryrefslogtreecommitdiffhomepage
path: root/bnf.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-07-19 16:48:13 +0200
committerRoland Reichwein <mail@reichwein.it>2020-07-19 16:48:13 +0200
commit2671f6800090affb2f89d5b2932df4450e1d7507 (patch)
tree11ccfac91328ca21ca76cf41dc39e2190ee3b7a8 /bnf.cpp
parente017a78f09e5a80c1d18131b5783b34c39e481b0 (diff)
Fix extension name
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");