From 85539c8c262c0c9e227c87fd1de02c53c163b7d8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 20 Sep 2006 18:56:49 +0000 Subject: 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. --- src/functiontostring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/functiontostring.cpp') 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 lOutput.push_back( sOut ); } -Function *FunctionToString::duplicate( Build &bld, const std::string &cont, VarMap *mExtra ) +Function *FunctionToString::duplicate( Build &bld, const StringList *cont, VarMap *mExtra ) { Function *pRet = new FunctionToString(); pRet->copyData( this, bld, cont, mExtra ); -- cgit v1.2.3