summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-01-12 18:48:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-01-12 18:48:38 (GMT)
commitc9c08bca66538c9fa157808e4dfdf6185a642a12 (patch)
treed7980e5d20dcff8fc4b3d7b297f86bc52f2a3ebb /Source/cmSystemTools.cxx
parent9a0e8e41deaf644a3f3fa10cb6b2cd2a2ba261b9 (diff)
downloadCMake-c9c08bca66538c9fa157808e4dfdf6185a642a12.zip
CMake-c9c08bca66538c9fa157808e4dfdf6185a642a12.tar.gz
CMake-c9c08bca66538c9fa157808e4dfdf6185a642a12.tar.bz2
BUG: add check for missing ) on function
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 48048c5..b66a178 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -242,6 +242,12 @@ bool cmSystemTools::ParseFunction(std::ifstream& fin,
cmSystemTools::GetArguments(line, arguments);
}
}
+ else
+ {
+ cmSystemTools::Error("Parse error in read function missing end )",
+ inbuffer);
+ return false;
+ }
}
return true;
}