Fixed macro reference problem with reference arguments

This commit is contained in:
yhirose 2021-01-15 23:36:01 -05:00
parent 0dab91d8d9
commit 4540874e7e
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -2822,6 +2822,9 @@ inline void ReferenceChecker::visit(Reference &ope) {
error_s[ope.name_] = ope.s_;
error_message[ope.name_] = "'" + ope.name_ + "' is not macro.";
}
for (auto arg : ope.args_) {
arg->accept(*this);
}
}
}