commit 48cc2559298732a1e527e6494b9f16b94f78970e parent 8cfcd87e50121f20be175d341bfddd55e35ab7c2 Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Tue, 13 Oct 2015 14:29:58 -0400 improve error detection in mcc Diffstat:
| M | minic/mcc | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/minic/mcc b/minic/mcc @@ -8,5 +8,6 @@ if [ -z "$SRC" ]; then exit 1 fi -./minic < $SRC | ../lisc/lisc - > $TMP -[ -s $TMP ] && cc $TMP +./minic < $SRC > $TMP.ssa || exit 1 +../lisc/lisc $TMP.ssa > $TMP || exit 1 +cc $TMP