1
0
Эх сурвалжийг харах

BUG: add check for missing ) on function

Bill Hoffman 25 жил өмнө
parent
commit
c9c08bca66

+ 6 - 0
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;
       }