diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-21 15:24:10 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-21 15:24:10 +0000 |
commit | e95c31f841b67fc69d93ec650fe285d34f996a1e (patch) | |
tree | bb0153ba0ee01958743d31be70a73b032b3ea2fc /src/builder.h | |
parent | 4887f62bea708f24e03b3f926f2698c60a94c807 (diff) | |
download | build-e95c31f841b67fc69d93ec650fe285d34f996a1e.tar.gz build-e95c31f841b67fc69d93ec650fe285d34f996a1e.tar.bz2 build-e95c31f841b67fc69d93ec650fe285d34f996a1e.tar.xz build-e95c31f841b67fc69d93ec650fe285d34f996a1e.zip |
Alright, the grammer is almost there, just debugging, in what I call extreme-
debugging mode. If you wanted something intelligable, don't use this one.
Diffstat (limited to 'src/builder.h')
-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(); |