aboutsummaryrefslogtreecommitdiff
path: root/src/stringprocbuild.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-10 22:27:37 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-10 22:27:37 +0000
commit97d529fac68105f0d3d34c699a4ac10489c705e8 (patch)
tree409473d54238525c7b41347458448a19c909ad8a /src/stringprocbuild.cpp
parent47cda1de3cfde56d8a8a69d535d38309bc2b7981 (diff)
downloadbuild-97d529fac68105f0d3d34c699a4ac10489c705e8.tar.gz
build-97d529fac68105f0d3d34c699a4ac10489c705e8.tar.bz2
build-97d529fac68105f0d3d34c699a4ac10489c705e8.tar.xz
build-97d529fac68105f0d3d34c699a4ac10489c705e8.zip
Almost done tweaking the variable system, it needed support for local, or
"extra" variables.
Diffstat (limited to 'src/stringprocbuild.cpp')
-rw-r--r--src/stringprocbuild.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stringprocbuild.cpp b/src/stringprocbuild.cpp
index d0a5951..071e941 100644
--- a/src/stringprocbuild.cpp
+++ b/src/stringprocbuild.cpp
@@ -10,7 +10,7 @@ StringProcBuild::~StringProcBuild()
10{ 10{
11} 11}
12 12
13std::string StringProcBuild::replVars( const std::string &sSrc, const std::string &sCont ) 13std::string StringProcBuild::replVars( const std::string &sSrc, const std::string &sCont, VarMap *mExtra )
14{ 14{
15 std::string sDes, sBuf; 15 std::string sDes, sBuf;
16 int nMode = 0; 16 int nMode = 0;
@@ -31,7 +31,7 @@ std::string StringProcBuild::replVars( const std::string &sSrc, const std::strin
31 { 31 {
32 if( sSrc[j] == '}' ) 32 if( sSrc[j] == '}' )
33 { 33 {
34 sDes += getBuild()->getVar( sCont, sBuf ); 34 sDes += getBuild()->getVar( sCont, sBuf, mExtra );
35 nMode = 0; 35 nMode = 0;
36 } 36 }
37 else 37 else