aboutsummaryrefslogtreecommitdiff
path: root/src/perform.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-20 18:56:49 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-20 18:56:49 +0000
commit85539c8c262c0c9e227c87fd1de02c53c163b7d8 (patch)
treeb6f96899ca745c157a6de93ad27013416976fc06 /src/perform.cpp
parent5a32418a040e967887aa6e01e41abc22932471db (diff)
downloadbuild-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.cpp2
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
17void Perform::copyData( Perform *pSrc, Build &bld, const std::string &cont, VarMap *mExtra ) 17void 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();