diff options
Diffstat (limited to '')
-rw-r--r-- | src/builder.h | 6 |
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 | ||
8 | class Builder; | 9 | class 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 ) |
11 | YY_DECL; | 12 | YY_DECL; |
12 | 13 | ||
14 | subExceptionDecl( BuildException ); | ||
15 | |||
13 | class Builder | 16 | class Builder |
14 | { | 17 | { |
15 | public: | 18 | public: |
@@ -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 | |||
24 | private: | 30 | private: |
25 | std::string file; | 31 | std::string file; |
26 | void scanBegin(); | 32 | void scanBegin(); |