aboutsummaryrefslogtreecommitdiff
path: root/src/functiontostring.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/functiontostring.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 '')
-rw-r--r--src/functiontostring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functiontostring.cpp b/src/functiontostring.cpp
index 0a7bb48..81ea77d 100644
--- a/src/functiontostring.cpp
+++ b/src/functiontostring.cpp
@@ -24,7 +24,7 @@ void FunctionToString::execute( Build *bld, const StringList &lInput, StringList
24 lOutput.push_back( sOut ); 24 lOutput.push_back( sOut );
25} 25}
26 26
27Function *FunctionToString::duplicate( Build &bld, const std::string &cont, VarMap *mExtra ) 27Function *FunctionToString::duplicate( Build &bld, const StringList *cont, VarMap *mExtra )
28{ 28{
29 Function *pRet = new FunctionToString(); 29 Function *pRet = new FunctionToString();
30 pRet->copyData( this, bld, cont, mExtra ); 30 pRet->copyData( this, bld, cont, mExtra );