mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 15:38:10 +00:00
This reverts commit bf6bb800c4.
This commit is contained in:
1 parent
8b3bb7c5e9
commit
f5300a84e5
55 files changed
+7431
-293
No files matched your search
@@ -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