From c9c08bca66538c9fa157808e4dfdf6185a642a12 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 12 Jan 2001 13:48:38 -0500 Subject: [PATCH] BUG: add check for missing ) on function --- Source/cmSystemTools.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 48048c537..b66a1789c 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; }