diff options
Diffstat (limited to 'src/gamestate.cpp')
| -rw-r--r-- | src/gamestate.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp index 0a82b99..aeaaaed 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 |
| @@ -748,6 +748,10 @@ void GameState::parse( const AstBranch::NodeList &lCode ) | |||
| 748 | } | 748 | } |
| 749 | break; | 749 | break; |
| 750 | 750 | ||
| 751 | case AstNode::tPop: | ||
| 752 | pop(); | ||
| 753 | break; | ||
| 754 | |||
| 751 | // tLeafLiteral | 755 | // tLeafLiteral |
| 752 | case AstNode::tVarName: | 756 | case AstNode::tVarName: |
| 753 | case AstNode::tLiteral: | 757 | case AstNode::tLiteral: |
