diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 15:53:38 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 15:53:38 -0700 |
| commit | 1bd7f709f5217b248fcb3a4c7be2eeca84fec795 (patch) | |
| tree | 9c146a63d57eb60542b22271dfdcec363ae2af84 /src/gamestate.cpp | |
| parent | 162ccd918698f53ef9ff7ba80091969d93aa789d (diff) | |
| download | stage-1bd7f709f5217b248fcb3a4c7be2eeca84fec795.tar.gz stage-1bd7f709f5217b248fcb3a4c7be2eeca84fec795.tar.bz2 stage-1bd7f709f5217b248fcb3a4c7be2eeca84fec795.tar.xz stage-1bd7f709f5217b248fcb3a4c7be2eeca84fec795.zip | |
This commit...I dunno
I'm using a different version of everything, and I don't know if it's
forward compatible or not.
Diffstat (limited to 'src/gamestate.cpp')
| -rw-r--r-- | src/gamestate.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp index cd6414c..4cab5c1 100644 --- a/src/gamestate.cpp +++ b/src/gamestate.cpp | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | #include "astleaf.h" | 5 | #include "astleaf.h" |
| 6 | #include "astleafliteral.h" | 6 | #include "astleafliteral.h" |
| 7 | 7 | ||
| 8 | #include <bu/sio.h> | ||
| 9 | using namespace Bu; | ||
| 10 | |||
| 8 | GameState::GameState( Game *pGame ) : | 11 | GameState::GameState( Game *pGame ) : |
| 9 | pGame( pGame ) | 12 | pGame( pGame ) |
| 10 | { | 13 | { |
| @@ -115,6 +118,7 @@ void GameState::parse( const AstBranch::NodeList &lCode ) | |||
| 115 | { | 118 | { |
| 116 | for( AstBranch::NodeList::const_iterator i = lCode.begin(); i; i++ ) | 119 | for( AstBranch::NodeList::const_iterator i = lCode.begin(); i; i++ ) |
| 117 | { | 120 | { |
| 121 | sio << "Stack: " << lStack << sio.nl; | ||
| 118 | switch( (*i)->getType() ) | 122 | switch( (*i)->getType() ) |
| 119 | { | 123 | { |
| 120 | // tLeaf | 124 | // tLeaf |
