aboutsummaryrefslogtreecommitdiff
path: root/src/builder.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-21 15:24:10 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-21 15:24:10 +0000
commite95c31f841b67fc69d93ec650fe285d34f996a1e (patch)
treebb0153ba0ee01958743d31be70a73b032b3ea2fc /src/builder.h
parent4887f62bea708f24e03b3f926f2698c60a94c807 (diff)
downloadbuild-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.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();