diff --git a/flint/Main.cpp b/flint/Main.cpp index 36f2ff3..d343148 100644 --- a/flint/Main.cpp +++ b/flint/Main.cpp @@ -155,6 +155,11 @@ int main(int argc, char *argv[]) { // Stop visual studio from closing the window... system("PAUSE"); #endif + + if (errors.getWarnings() || errors.getErrors()) { + return 1; + } + return 0; };