diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-13 14:29:58 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-13 14:29:58 -0400 |
commit | 48cc2559298732a1e527e6494b9f16b94f78970e (patch) | |
tree | 84a16845b6711374a963f6aab03595eb35a1a7b4 /minic | |
parent | 8cfcd87e50121f20be175d341bfddd55e35ab7c2 (diff) | |
download | roux-48cc2559298732a1e527e6494b9f16b94f78970e.tar.gz |
improve error detection in mcc
Diffstat (limited to 'minic')
-rwxr-xr-x | minic/mcc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/minic/mcc b/minic/mcc index 76e0603..509f337 100755 --- 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 |