summaryrefslogtreecommitdiff
path: root/src/gamestate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamestate.cpp')
-rw-r--r--src/gamestate.cpp4
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>
9using namespace Bu;
10
8GameState::GameState( Game *pGame ) : 11GameState::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