Add error check during multi-target compilation.
This commit is contained in:
@@ -3248,6 +3248,9 @@ Module::CompileAndOutput(const char *srcFile,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
errorCount += m->errorCount;
|
errorCount += m->errorCount;
|
||||||
|
if (errorCount != 0) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
// Only write the generate header file, if desired, the first
|
// Only write the generate header file, if desired, the first
|
||||||
// time through the loop here.
|
// time through the loop here.
|
||||||
|
|||||||
Reference in New Issue
Block a user