diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-09-20 18:56:49 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-20 18:56:49 +0000 |
| commit | 85539c8c262c0c9e227c87fd1de02c53c163b7d8 (patch) | |
| tree | b6f96899ca745c157a6de93ad27013416976fc06 /src/perform.cpp | |
| parent | 5a32418a040e967887aa6e01e41abc22932471db (diff) | |
| download | build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.gz build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.bz2 build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.xz build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.zip | |
Changed the api for variable replacement contexts. There can now be multiple
levels of contextual inheritance, so now sub-targets automatically get their
parent target's context variables, if they need them.
Diffstat (limited to 'src/perform.cpp')
| -rw-r--r-- | src/perform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perform.cpp b/src/perform.cpp index 64e6bab..25d54c7 100644 --- a/src/perform.cpp +++ b/src/perform.cpp | |||
| @@ -14,7 +14,7 @@ void Perform::addParam( const char *sParam ) | |||
| 14 | lParam.push_back( sParam ); | 14 | lParam.push_back( sParam ); |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | void Perform::copyData( Perform *pSrc, Build &bld, const std::string &cont, VarMap *mExtra ) | 17 | void Perform::copyData( Perform *pSrc, Build &bld, const StringList *cont, VarMap *mExtra ) |
| 18 | { | 18 | { |
| 19 | lParam.clear(); | 19 | lParam.clear(); |
| 20 | for( std::list<std::string>::iterator i = pSrc->lParam.begin(); | 20 | for( std::list<std::string>::iterator i = pSrc->lParam.begin(); |
