diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-07-19 16:48:13 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-07-19 16:48:13 +0200 |
commit | 2671f6800090affb2f89d5b2932df4450e1d7507 (patch) | |
tree | 11ccfac91328ca21ca76cf41dc39e2190ee3b7a8 /bnf.cpp | |
parent | e017a78f09e5a80c1d18131b5783b34c39e481b0 (diff) |
Fix extension name
Diffstat (limited to 'bnf.cpp')
-rw-r--r-- | bnf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |