summaryrefslogtreecommitdiff
path: root/src/gamestate.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-29 15:53:38 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-29 15:53:38 -0700
commit1bd7f709f5217b248fcb3a4c7be2eeca84fec795 (patch)
tree9c146a63d57eb60542b22271dfdcec363ae2af84 /src/gamestate.cpp
parent162ccd918698f53ef9ff7ba80091969d93aa789d (diff)
downloadstage-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.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