aboutsummaryrefslogtreecommitdiff
path: root/src/parse/Grammar.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-09-13 15:51:02 +0800
committercrupest <crupest@outlook.com>2021-09-13 15:51:02 +0800
commit9bc202a2e1664df3e3c148abfe90a90501bc1650 (patch)
treeedb3f908ab30b0a6df498d47a38d9e1cefd7a7b1 /src/parse/Grammar.cpp
parentfe45ee2dde28c995f1aa16a9cdc3119e00a26a8a (diff)
downloadcru-9bc202a2e1664df3e3c148abfe90a90501bc1650.tar.gz
cru-9bc202a2e1664df3e3c148abfe90a90501bc1650.tar.bz2
cru-9bc202a2e1664df3e3c148abfe90a90501bc1650.zip
...
Diffstat (limited to 'src/parse/Grammar.cpp')
-rw-r--r--src/parse/Grammar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/Grammar.cpp b/src/parse/Grammar.cpp
index 3bd387d7..95c65e99 100644
--- a/src/parse/Grammar.cpp
+++ b/src/parse/Grammar.cpp
@@ -148,7 +148,7 @@ void Grammar::EliminateLeftRecursions() {
auto new_right = right;
new_right.insert(new_right.cbegin(), jp->GetRight().cbegin(),
jp->GetRight().cend());
- CreateProduction(String{}, ni, std::move(new_right));
+ CreateProduction(u"", ni, std::move(new_right));
}
}
}