diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-29 22:50:44 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-29 22:50:44 +0000 |
commit | 375112224567de0b2f3666cef13b1c5832f1ed6f (patch) | |
tree | 5b13d65d7aa50b304c884a8a5d796db844f9ddac /src/buildparser.cpp | |
parent | c41af88a8a3dcd3e9e0ea6dcbe7df9e71eb4eedd (diff) | |
download | build-375112224567de0b2f3666cef13b1c5832f1ed6f.tar.gz build-375112224567de0b2f3666cef13b1c5832f1ed6f.tar.bz2 build-375112224567de0b2f3666cef13b1c5832f1ed6f.tar.xz build-375112224567de0b2f3666cef13b1c5832f1ed6f.zip |
Updated a load, now there's a seperate module for performing string processing
pre parser, and whatever.
Diffstat (limited to 'src/buildparser.cpp')
-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 | ||