summaryrefslogtreecommitdiff
path: root/src/astnode.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-30 13:11:35 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-30 13:11:35 -0700
commitf2ee67558acbe3c418a7558587b56158d593d88d (patch)
treed0b306fc26679fee672df740acdbdc0ede3c50dd /src/astnode.cpp
parente112d781ea5ffc4186e7d70dba595b5a233335a8 (diff)
downloadstage-f2ee67558acbe3c418a7558587b56158d593d88d.tar.gz
stage-f2ee67558acbe3c418a7558587b56158d593d88d.tar.bz2
stage-f2ee67558acbe3c418a7558587b56158d593d88d.tar.xz
stage-f2ee67558acbe3c418a7558587b56158d593d88d.zip
return, exit, lists added. You can't index them.
They're linked lists right now, maybe that's not really what I want long-term, but it'll work for now...
Diffstat (limited to 'src/astnode.cpp')
-rw-r--r--src/astnode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/astnode.cpp b/src/astnode.cpp
index 99f6a2e..84f6845 100644
--- a/src/astnode.cpp
+++ b/src/astnode.cpp
@@ -42,6 +42,9 @@ Bu::Formatter &operator<<( Bu::Formatter &f, AstNode::Type t )
42 case AstNode::tGoto: return f << "tGoto"; 42 case AstNode::tGoto: return f << "tGoto";
43 case AstNode::tSwap: return f << "tSwap"; 43 case AstNode::tSwap: return f << "tSwap";
44 case AstNode::tStoreRev: return f << "tStoreRev"; 44 case AstNode::tStoreRev: return f << "tStoreRev";
45 case AstNode::tReturn: return f << "tReturn";
46 case AstNode::tAppend: return f << "tAppend";
47 case AstNode::tInsert: return f << "tInsert";
45 48
46 case AstNode::tLeafLiteral: return f << "!tLeafLiteral!"; 49 case AstNode::tLeafLiteral: return f << "!tLeafLiteral!";
47 case AstNode::tVarName: return f << "tVarName"; 50 case AstNode::tVarName: return f << "tVarName";