From f66458278ce3663397fc985a1253c85b74f011e6 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 29 Dec 2011 22:27:59 -0700 Subject: Most AstNodes work now. Next up: loops, proper variable references with scopes, and gotos. --- src/astnode.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/astnode.cpp') diff --git a/src/astnode.cpp b/src/astnode.cpp index d7295b3..88363c9 100644 --- a/src/astnode.cpp +++ b/src/astnode.cpp @@ -40,6 +40,7 @@ Bu::Formatter &operator<<( Bu::Formatter &f, AstNode::Type t ) case AstNode::tNegate: return f << "tNegate"; case AstNode::tIn: return f << "tIn"; case AstNode::tGoto: return f << "tGoto"; + case AstNode::tSwap: return f << "tSwap"; case AstNode::tLeafLiteral: return f << "!tLeafLiteral!"; case AstNode::tVarName: return f << "tVarName"; -- cgit v1.2.3