diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-01-12 18:48:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-01-12 18:48:38 (GMT) |
commit | c9c08bca66538c9fa157808e4dfdf6185a642a12 (patch) | |
tree | d7980e5d20dcff8fc4b3d7b297f86bc52f2a3ebb /Source/cmSystemTools.cxx | |
parent | 9a0e8e41deaf644a3f3fa10cb6b2cd2a2ba261b9 (diff) | |
download | CMake-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.cxx | 6 |
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; } |