diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 22:27:59 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 22:27:59 -0700 |
| commit | f66458278ce3663397fc985a1253c85b74f011e6 (patch) | |
| tree | 785e2fb51a91fe277c698ea84009e0052ef6555e /src/astnode.cpp | |
| parent | f404d991aa53ed81855e51b597bfe1d5c2288b42 (diff) | |
| download | stage-f66458278ce3663397fc985a1253c85b74f011e6.tar.gz stage-f66458278ce3663397fc985a1253c85b74f011e6.tar.bz2 stage-f66458278ce3663397fc985a1253c85b74f011e6.tar.xz stage-f66458278ce3663397fc985a1253c85b74f011e6.zip | |
Most AstNodes work now.
Next up: loops, proper variable references with scopes, and gotos.
Diffstat (limited to 'src/astnode.cpp')
| -rw-r--r-- | src/astnode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 ) | |||
| 40 | case AstNode::tNegate: return f << "tNegate"; | 40 | case AstNode::tNegate: return f << "tNegate"; |
| 41 | case AstNode::tIn: return f << "tIn"; | 41 | case AstNode::tIn: return f << "tIn"; |
| 42 | case AstNode::tGoto: return f << "tGoto"; | 42 | case AstNode::tGoto: return f << "tGoto"; |
| 43 | case AstNode::tSwap: return f << "tSwap"; | ||
| 43 | 44 | ||
| 44 | case AstNode::tLeafLiteral: return f << "!tLeafLiteral!"; | 45 | case AstNode::tLeafLiteral: return f << "!tLeafLiteral!"; |
| 45 | case AstNode::tVarName: return f << "tVarName"; | 46 | case AstNode::tVarName: return f << "tVarName"; |
