mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Fix macos clang builds
This commit is contained in:
parent
62337062bf
commit
c32a944b9d
@ -201,7 +201,7 @@ namespace chaiscript
|
|||||||
if (p->children[0]->identifier == AST_Node_Type::Id) {
|
if (p->children[0]->identifier == AST_Node_Type::Id) {
|
||||||
return std::map<std::string, int>{{p->children[0]->text, in_loop?99:1}};
|
return std::map<std::string, int>{{p->children[0]->text, in_loop?99:1}};
|
||||||
}
|
}
|
||||||
return {};
|
return std::map<std::string, int>();
|
||||||
} else {
|
} else {
|
||||||
std::map<std::string, int> counts;
|
std::map<std::string, int> counts;
|
||||||
for (const auto &child : p->children) {
|
for (const auto &child : p->children) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user