Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
KelingYe committed Nov 9, 2023
1 parent 8add458 commit 738abb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/TypeCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -889,21 +889,25 @@ aA_type check_ExprUnit(std::ostream *out, aA_exprUnit eu)
case A_exprUnitType::A_arrayExprKind:
{
/* write your code here */
return check_ArrayExpr(out,eu->u.arrayExpr);
}
break;
case A_exprUnitType::A_memberExprKind:
{
/* write your code here */
return check_MemberExpr(out,eu->u.memberExpr);
}
break;
case A_exprUnitType::A_arithExprKind:
{
/* write your code here */
return check_arithExprValValid(out,eu->u.arithExpr);
}
break;
case A_exprUnitType::A_arithUExprKind:
{
/* write your code here */
return check_ExprUnit(out,eu->u.arithUExpr->expr);
}
break;
}
Expand Down

0 comments on commit 738abb8

Please sign in to comment.