Skip to content
Snippets Groups Projects
Commit ab7db0d5 authored by w-klijn's avatar w-klijn Committed by GitHub
Browse files

Merge pull request #165 from bcumming/bug/modcc

fix #164
parents 15041be0 7197a976
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,9 @@ public:
}
void visit(CallExpression* e) override {
for (auto& e: e->args()) {
for (auto& expr: e->args()) {
if (found()) return;
e->accept(this);
expr->accept(this);
}
}
......@@ -62,16 +62,16 @@ public:
}
void visit(StoichExpression* e) override {
for (auto& e: e->terms()) {
for (auto& expr: e->terms()) {
if (found()) return;
e->accept(this);
expr->accept(this);
}
}
void visit(BlockExpression* e) override {
for (auto& e: e->statements()) {
for (auto& expr: e->statements()) {
if (found()) return;
e->accept(this);
expr->accept(this);
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment