mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
some fixes
This commit is contained in:
@@ -88,7 +88,7 @@ Result<NoneType> ValidateGrammar(const std::vector<Token>& tokens) {
|
||||
auto capitalize = [](const std::string& str) {
|
||||
if (str.empty()) return str;
|
||||
std::string result = str;
|
||||
result[0] = std::towupper(result[0]);
|
||||
result[0] = std::toupper(result[0]);
|
||||
return result;
|
||||
};
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user