summaryrefslogtreecommitdiff
path: root/src/gamestate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamestate.cpp')
-rw-r--r--src/gamestate.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp
index aeaaaed..7b2d228 100644
--- a/src/gamestate.cpp
+++ b/src/gamestate.cpp
@@ -520,8 +520,8 @@ void GameState::parse( const AstBranch::NodeList &lCode )
520 bEscape = false; 520 bEscape = false;
521 for( AstBranch::NodeList::const_iterator i = lCode.begin(); i; i++ ) 521 for( AstBranch::NodeList::const_iterator i = lCode.begin(); i; i++ )
522 { 522 {
523 //sio << "Stack: " << lStack << sio.nl; 523 // sio << "Stack: " << lStack << sio.nl;
524 //sio << "exec: " << (*i)->getType() << sio.nl; 524 // sio << "exec: " << (*i)->getType() << sio.nl;
525 switch( (*i)->getType() ) 525 switch( (*i)->getType() )
526 { 526 {
527 // tLeaf 527 // tLeaf
@@ -752,6 +752,10 @@ void GameState::parse( const AstBranch::NodeList &lCode )
752 pop(); 752 pop();
753 break; 753 break;
754 754
755 case AstNode::tDeref:
756 push( popDeref() );
757 break;
758
755 // tLeafLiteral 759 // tLeafLiteral
756 case AstNode::tVarName: 760 case AstNode::tVarName:
757 case AstNode::tLiteral: 761 case AstNode::tLiteral: