From ee98faf71642cf351d5cda241679b094aeec65ce Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 22 Aug 2006 06:19:44 +0000 Subject: Added targets, and the global set command, things are really coming along now. --- src/builder.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/builder.h') diff --git a/src/builder.h b/src/builder.h index 529edc6..a6f88f4 100644 --- a/src/builder.h +++ b/src/builder.h @@ -11,6 +11,8 @@ class Function; class FunctionFactory; class Perform; class PerformFactory; +class Target; +class TargetFactory; #define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, Builder &bld ) YY_DECL; @@ -28,13 +30,19 @@ public: void load( const std::string &sFile ); - int getTargetType( const char *sType ); private: std::string file; void scanBegin(); void scanEnd(); +public: // Target functions + bool isTarget( const char *sType ); + +private: // Target variables + Target *pTmpTarget; + TargetFactory &fTarget; + public: // Function functions bool isFunction( const char *sFunc ); void newFunctionCall( const char *sName ); -- cgit v1.2.3