diff options
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 | ||
10 | class Build; | 10 | class Build; |
11 | class Builder; | 11 | class BuildParser; |
12 | class Function; | 12 | class Function; |
13 | class FunctionFactory; | 13 | class FunctionFactory; |
14 | class Perform; | 14 | class Perform; |
@@ -16,7 +16,7 @@ class PerformFactory; | |||
16 | class Target; | 16 | class Target; |
17 | class TargetFactory; | 17 | class 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 ) |
20 | YY_DECL; | 20 | YY_DECL; |
21 | 21 | ||
22 | typedef std::list<std::string> StringList; | 22 | typedef std::list<std::string> StringList; |
@@ -46,15 +46,15 @@ enum eSetHow | |||
46 | setAdd | 46 | setAdd |
47 | }; | 47 | }; |
48 | 48 | ||
49 | class Builder | 49 | class 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; |
55 | public: | 55 | public: |
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 ); |