Browse Source

signal error for failed compilations

Quentin Carbonneaux 10 years ago
parent
commit
be1f7cbf23
1 changed files with 1 additions and 0 deletions
  1. 1 0
      minic/mcc

+ 1 - 0
minic/mcc

@@ -35,6 +35,7 @@ cc $flags /tmp/minic.s
 if test $? -ne 0
 then
 	echo "error processing file $file" >&2
+	exit 1
 fi