浏览代码

BUG: this seems to fix the regexp result-storage problem, now it seems the actual result is tored instead of "1" , as it happened for StringFileTest on Windows

Alex
Alexander Neundorf 18 年之前
父节点
当前提交
69e9848fb4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmIfCommand.cxx

+ 1 - 1
Source/cmIfCommand.cxx

@@ -384,8 +384,8 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
           }
         if (regEntry.find(def))
           {
-          *arg = "1";
           cmStringCommand::StoreMatches(makefile, regEntry);
+          *arg = "1";
           }
         else
           {