summaryrefslogtreecommitdiff
path: root/src/astfunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/astfunction.cpp')
-rw-r--r--src/astfunction.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/astfunction.cpp b/src/astfunction.cpp
index f091644..f5e25dc 100644
--- a/src/astfunction.cpp
+++ b/src/astfunction.cpp
@@ -1,6 +1,8 @@
1#include "astfunction.h" 1#include "astfunction.h"
2#include "astbranch.h" 2#include "astbranch.h"
3 3
4#include "gamestate.h"
5
4AstFunction::AstFunction( const Bu::String &sName ) : 6AstFunction::AstFunction( const Bu::String &sName ) :
5 sName( sName ), 7 sName( sName ),
6 pAst( NULL ) 8 pAst( NULL )
@@ -14,6 +16,7 @@ AstFunction::~AstFunction()
14 16
15Variable AstFunction::call( class GameState &gState ) 17Variable AstFunction::call( class GameState &gState )
16{ 18{
19 gState.parse( pAst );
17} 20}
18 21
19void AstFunction::addParam( const Bu::String &sName ) 22void AstFunction::addParam( const Bu::String &sName )