From 9de9d4e733ce872806c569334af4c9ace01db203 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 6 Feb 2012 12:22:27 -0700 Subject: Important bugfix in stack code. Thanks david! --- src/gamebuilder.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gamebuilder.h') diff --git a/src/gamebuilder.h b/src/gamebuilder.h index 80df1bc..f64f50e 100644 --- a/src/gamebuilder.h +++ b/src/gamebuilder.h @@ -15,6 +15,8 @@ public: void parse( const Bu::String &sFile ); + void endCmpltExpr(); + class Game *getGame() { return pGame; } void setLiteral( const Variable &v ); @@ -36,6 +38,8 @@ public: void addVarRef( const Bu::String &sName, ScopeId sid ); void addFuncCall( const Bu::String &sName ); + void stackMod( AstNode::Type iType ); + void beginGlobal(); void closeGlobal(); @@ -58,6 +62,7 @@ private: class AstFunction *pCurFnc; class Situation *pCurSit; Situation::Mode eCurSitMode; + int iStackHeight; }; #endif -- cgit v1.2.3