diff options
author | crupest <crupest@outlook.com> | 2021-09-13 15:51:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-09-13 15:51:02 +0800 |
commit | 9bc202a2e1664df3e3c148abfe90a90501bc1650 (patch) | |
tree | edb3f908ab30b0a6df498d47a38d9e1cefd7a7b1 /src/parse/Grammar.cpp | |
parent | fe45ee2dde28c995f1aa16a9cdc3119e00a26a8a (diff) | |
download | cru-9bc202a2e1664df3e3c148abfe90a90501bc1650.tar.gz cru-9bc202a2e1664df3e3c148abfe90a90501bc1650.tar.bz2 cru-9bc202a2e1664df3e3c148abfe90a90501bc1650.zip |
...
Diffstat (limited to 'src/parse/Grammar.cpp')
-rw-r--r-- | src/parse/Grammar.cpp | 2 |
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)); } } } |