clang and gcc pounded the msvc
This commit is contained in:
parent
a47476e708
commit
13b14f4002
3 changed files with 4 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
||||||
"name": "x64-Debug",
|
"name": "x64-Debug",
|
||||||
"generator": "Ninja",
|
"generator": "Ninja",
|
||||||
"configurationType": "Debug",
|
"configurationType": "Debug",
|
||||||
"inheritEnvironments": [ "msvc_x64_x64" ],
|
"inheritEnvironments": [ "clang_cl_x64_x64" ],
|
||||||
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||||
"installRoot": "${projectDir}\\out\\install\\${name}",
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||||
"cmakeCommandArgs": "",
|
"cmakeCommandArgs": "",
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace {
|
||||||
operator std::string() const {
|
operator std::string() const {
|
||||||
return accept;
|
return accept;
|
||||||
}
|
}
|
||||||
constexpr bool operator== (const std::string& other) const {
|
bool operator== (const std::string& other) const {
|
||||||
return accept == other;
|
return accept == other;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -29,7 +29,7 @@ namespace {
|
||||||
constexpr operator char() const {
|
constexpr operator char() const {
|
||||||
return accept[0];
|
return accept[0];
|
||||||
}
|
}
|
||||||
constexpr bool operator== (const std::string& other) const {
|
bool operator== (const std::string& other) const {
|
||||||
return accept == other;
|
return accept == other;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -271,7 +271,7 @@ namespace {
|
||||||
throw std::runtime_error("Cannot match closing subexpression");
|
throw std::runtime_error("Cannot match closing subexpression");
|
||||||
else
|
else
|
||||||
SkipOverFirstChar(f, pos);
|
SkipOverFirstChar(f, pos);
|
||||||
return Object(ParseType::Subexpression, c);
|
return Object{ ParseType::Subexpression, c };
|
||||||
}
|
}
|
||||||
else if (t[0] == GROUP_CLOSE)
|
else if (t[0] == GROUP_CLOSE)
|
||||||
throw std::runtime_error("Cannot match closing subexpression, likely too few arguments");
|
throw std::runtime_error("Cannot match closing subexpression, likely too few arguments");
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
mmawesome {
|
|
||||||
sadasd sadasd ["く\"" "ぇrち"[][[[[]]]][][][] "ゅいお" "p"]
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue