diff options
Diffstat (limited to 'boot/type_check.cc')
| -rw-r--r-- | boot/type_check.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/boot/type_check.cc b/boot/type_check.cc index 7be236d..71fd8ab 100644 --- a/boot/type_check.cc +++ b/boot/type_check.cc @@ -900,10 +900,10 @@ namespace elna::boot visit_and_validate_condition(statement->branch().prerequisite()); traverse_block(statement->branch().body); - for (conditional_statements *branch : statement->branches) + for (conditional_statements& branch : statement->branches) { - visit_and_validate_condition(branch->prerequisite()); - traverse_block(branch->body); + visit_and_validate_condition(branch.prerequisite()); + traverse_block(branch.body); } } @@ -912,10 +912,10 @@ namespace elna::boot visit_and_validate_condition(statement->branch().prerequisite()); traverse_block(statement->branch().body); - for (conditional_statements *branch : statement->branches) + for (conditional_statements& branch : statement->branches) { - visit_and_validate_condition(branch->prerequisite()); - traverse_block(branch->body); + visit_and_validate_condition(branch.prerequisite()); + traverse_block(branch.body); } if (statement->alternative != nullptr) { |
