Commit f3cb6c98 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

vtkWrap{Java,Tcl}: fail if there is no class to wrap

The file should be excluded instead.
parent 5925bea4
......@@ -1275,7 +1275,7 @@ int main(int argc, char *argv[])
if ((data = file_info->MainClass) == NULL)
{
fclose(fp);
exit(0);
exit(1);
}
/* get the hierarchy info for accurate typing */
......
......@@ -1120,7 +1120,7 @@ int main(int argc, char *argv[])
if ((data = file_info->MainClass) == NULL)
{
fclose(fp);
exit(0);
exit(1);
}
/* get the hierarchy info for accurate typing */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment