diff options
Diffstat (limited to 'src/buildparser.cpp')
-rw-r--r-- | src/buildparser.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildparser.cpp b/src/buildparser.cpp index 0aa409f..f5b87c7 100644 --- a/src/buildparser.cpp +++ b/src/buildparser.cpp | |||
@@ -185,7 +185,9 @@ StringList BuildParser::buildToStringListDup( const BuildList &lSrc, const Strin | |||
185 | { | 185 | { |
186 | if( (*i).second ) | 186 | if( (*i).second ) |
187 | { | 187 | { |
188 | Function *pTmp = (*i).second->duplicate( bld, sCont, mExtra ); | 188 | StringList l; |
189 | l.push_back( sCont ); | ||
190 | Function *pTmp = (*i).second->duplicate( bld, &l, mExtra ); | ||
189 | pTmp->execute( pPass, lIn, lOut ); | 191 | pTmp->execute( pPass, lIn, lOut ); |
190 | delete pTmp; | 192 | delete pTmp; |
191 | } | 193 | } |