diff options
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 |
