aboutsummaryrefslogtreecommitdiff
path: root/src/buildparser.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/buildparser.h (renamed from src/builder.h)10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/builder.h b/src/buildparser.h
index 367769f..642cc73 100644
--- a/src/builder.h
+++ b/src/buildparser.h
@@ -8,7 +8,7 @@
8#include "build.tab.h" 8#include "build.tab.h"
9 9
10class Build; 10class Build;
11class Builder; 11class BuildParser;
12class Function; 12class Function;
13class FunctionFactory; 13class FunctionFactory;
14class Perform; 14class Perform;
@@ -16,7 +16,7 @@ class PerformFactory;
16class Target; 16class Target;
17class TargetFactory; 17class TargetFactory;
18 18
19#define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, Builder &bld ) 19#define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, BuildParser &bld )
20YY_DECL; 20YY_DECL;
21 21
22typedef std::list<std::string> StringList; 22typedef std::list<std::string> StringList;
@@ -46,15 +46,15 @@ enum eSetHow
46 setAdd 46 setAdd
47}; 47};
48 48
49class Builder 49class BuildParser
50{ 50{
51 typedef std::pair<std::string, Function *> BuildListItem; 51 typedef std::pair<std::string, Function *> BuildListItem;
52 typedef std::list<BuildListItem> BuildList; 52 typedef std::list<BuildListItem> BuildList;
53 typedef Triplet<std::string, std::string, int> SetVar; 53 typedef Triplet<std::string, std::string, int> SetVar;
54 typedef std::list<SetVar> SetVarList; 54 typedef std::list<SetVar> SetVarList;
55public: 55public:
56 Builder(); 56 BuildParser();
57 virtual ~Builder(); 57 virtual ~BuildParser();
58 58
59 void error( YYLTYPE *locp, const char *msg ); 59 void error( YYLTYPE *locp, const char *msg );
60 void error( const std::string &msg ); 60 void error( const std::string &msg );