mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-27 22:02:33 +01:00
This reverts commit bf6bb800c4.
This commit is contained in:
@@ -20,14 +20,14 @@ namespace Carbon {
|
||||
void PrintAct(Action* act, std::ostream& out) {
|
||||
switch (act->tag) {
|
||||
case ActionKind::DeleteTmpAction:
|
||||
out << "delete_tmp(" << act->u.delete_tmp << ")";
|
||||
std::cout << "delete_tmp(" << act->u.delete_tmp << ")";
|
||||
break;
|
||||
case ActionKind::ExpToLValAction:
|
||||
out << "exp=>lval";
|
||||
break;
|
||||
case ActionKind::LValAction:
|
||||
case ActionKind::ExpressionAction:
|
||||
out << *act->u.exp;
|
||||
PrintExp(act->u.exp);
|
||||
break;
|
||||
case ActionKind::StatementAction:
|
||||
PrintStatement(act->u.stmt, 1);
|
||||
|
||||
Reference in New Issue
Block a user