diff options
Diffstat (limited to 'src/function.cpp')
-rw-r--r-- | src/function.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/function.cpp b/src/function.cpp index e7554e1..8debbe9 100644 --- a/src/function.cpp +++ b/src/function.cpp | |||
@@ -13,3 +13,13 @@ void Function::addParam( const char *str ) | |||
13 | lParams.push_back( str ); | 13 | lParams.push_back( str ); |
14 | } | 14 | } |
15 | 15 | ||
16 | void Function::copyData( Function *pSrc, Build &bld, const std::string &cont, VarMap *mExtra ) | ||
17 | { | ||
18 | lParams.clear(); | ||
19 | for( std::list<std::string>::iterator i = pSrc->lParams.begin(); | ||
20 | i != pSrc->lParams.end(); i++ ) | ||
21 | { | ||
22 | lParams.push_back( bld.replVars( *i, cont, mExtra ) ); | ||
23 | } | ||
24 | } | ||
25 | |||