diff options
Diffstat (limited to '')
-rw-r--r-- | src/buildparser.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/buildparser.cpp b/src/buildparser.cpp index 7903e04..5ebcfd3 100644 --- a/src/buildparser.cpp +++ b/src/buildparser.cpp | |||
@@ -411,6 +411,36 @@ Build *BuildParser::genBuild() | |||
411 | } | 411 | } |
412 | } | 412 | } |
413 | 413 | ||
414 | for( RuleTmpList::iterator i = lRuleTmp.begin(); i != lRuleTmp.end(); i++ ) | ||
415 | { | ||
416 | Rule *pRule = new Rule; | ||
417 | pRule->setName( (*i).sName ); | ||
418 | pRule->getMatchesList().push_back( (*i).pMatches ); | ||
419 | |||
420 | for( FunctionList::iterator j = (*i).lFilter.begin(); | ||
421 | j != (*i).lFilter.end(); j++ ) | ||
422 | { | ||
423 | pRule->getFilterList().push_back( *j ); | ||
424 | } | ||
425 | |||
426 | for( PerformList::iterator j = (*i).lPerform.begin(); | ||
427 | j != (*i).lPerform.end(); j++ ) | ||
428 | { | ||
429 | pRule->getPerformList().push_back( *j ); | ||
430 | } | ||
431 | |||
432 | /*StringList lITmp = buildToStringList( | ||
433 | (*i).lProduces, StringList() | ||
434 | ); | ||
435 | |||
436 | for( StringList::iterator i = lITmp.begin(); i != lITmp.end(); i++ ) | ||
437 | { | ||
438 | get | ||
439 | }*/ | ||
440 | |||
441 | bld->addRule( pRule ); | ||
442 | } | ||
443 | |||
414 | return bld; | 444 | return bld; |
415 | } | 445 | } |
416 | 446 | ||