aboutsummaryrefslogtreecommitdiff
path: root/src/builder.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/builder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/builder.h b/src/builder.h
index 9c146ea..3293108 100644
--- a/src/builder.h
+++ b/src/builder.h
@@ -4,12 +4,15 @@
4#include <stdint.h> 4#include <stdint.h>
5#include <string> 5#include <string>
6#include "build.tab.h" 6#include "build.tab.h"
7#include "exceptions.h"
7 8
8class Builder; 9class Builder;
9 10
10#define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, Builder &bld ) 11#define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, Builder &bld )
11YY_DECL; 12YY_DECL;
12 13
14subExceptionDecl( BuildException );
15
13class Builder 16class Builder
14{ 17{
15public: 18public:
@@ -21,6 +24,9 @@ public:
21 24
22 void load( const std::string &sFile ); 25 void load( const std::string &sFile );
23 26
27 int getTargetType( const char *sType );
28 bool isFunction( const char *sFunc );
29
24private: 30private:
25 std::string file; 31 std::string file;
26 void scanBegin(); 32 void scanBegin();