diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-08-23 22:09:30 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-23 22:09:30 +0000 |
| commit | d2fe7edb2bfea20987a1f69935179fa5fc9f3b37 (patch) | |
| tree | ee35479f264788bf43b7904f31a528699b53e955 /src/builder.h | |
| parent | 7a7390337e04d0163b97c1da7bdaa198bacaff72 (diff) | |
| download | build-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.tar.gz build-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.tar.bz2 build-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.tar.xz build-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.zip | |
Really close...functions are doing their stuff, we have inputs, almost have rules.
Diffstat (limited to '')
| -rw-r--r-- | src/builder.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/builder.h b/src/builder.h index 8d72627..367769f 100644 --- a/src/builder.h +++ b/src/builder.h | |||
| @@ -20,6 +20,8 @@ class TargetFactory; | |||
| 20 | YY_DECL; | 20 | YY_DECL; |
| 21 | 21 | ||
| 22 | typedef std::list<std::string> StringList; | 22 | typedef std::list<std::string> StringList; |
| 23 | typedef std::list<Function *> FunctionList; | ||
| 24 | typedef std::list<Perform *> PerformList; | ||
| 23 | 25 | ||
| 24 | template<class tx, class ty, class tz> | 26 | template<class tx, class ty, class tz> |
| 25 | class Triplet | 27 | class Triplet |
| @@ -137,14 +139,14 @@ private: // Rule variables | |||
| 137 | Function *pMatches; | 139 | Function *pMatches; |
| 138 | BuildList lProduces; | 140 | BuildList lProduces; |
| 139 | BuildList lRequires; | 141 | BuildList lRequires; |
| 140 | std::list<Function *> lFilter; | 142 | FunctionList lFilter; |
| 141 | std::list<Perform *> lPerform; | 143 | PerformList lPerform; |
| 142 | }; | 144 | }; |
| 143 | 145 | ||
| 144 | typedef std::list<RuleInfo> RuleTmpList; | 146 | typedef std::list<RuleInfo> RuleTmpList; |
| 145 | RuleTmpList lRuleTmp; | 147 | RuleTmpList lRuleTmp; |
| 146 | 148 | ||
| 147 | public: // Functions for dealing with actions | 149 | public: // Action functions |
| 148 | void addAction(); | 150 | void addAction(); |
| 149 | void addAction( const char *sName ); | 151 | void addAction( const char *sName ); |
| 150 | void addCommand( int nType ); | 152 | void addCommand( int nType ); |
