From 97d529fac68105f0d3d34c699a4ac10489c705e8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 10 Sep 2006 22:27:37 +0000 Subject: Almost done tweaking the variable system, it needed support for local, or "extra" variables. --- src/stringprocbuild.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stringprocbuild.cpp') 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() { } -std::string StringProcBuild::replVars( const std::string &sSrc, const std::string &sCont ) +std::string StringProcBuild::replVars( const std::string &sSrc, const std::string &sCont, VarMap *mExtra ) { std::string sDes, sBuf; int nMode = 0; @@ -31,7 +31,7 @@ std::string StringProcBuild::replVars( const std::string &sSrc, const std::strin { if( sSrc[j] == '}' ) { - sDes += getBuild()->getVar( sCont, sBuf ); + sDes += getBuild()->getVar( sCont, sBuf, mExtra ); nMode = 0; } else -- cgit v1.2.3