diff options
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"); |