From e95c31f841b67fc69d93ec650fe285d34f996a1e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Aug 2006 15:24:10 +0000 Subject: 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. --- src/builder.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/builder.h') 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 @@ #include #include #include "build.tab.h" +#include "exceptions.h" class Builder; #define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, Builder &bld ) YY_DECL; +subExceptionDecl( BuildException ); + class Builder { public: @@ -21,6 +24,9 @@ public: void load( const std::string &sFile ); + int getTargetType( const char *sType ); + bool isFunction( const char *sFunc ); + private: std::string file; void scanBegin(); -- cgit v1.2.3