Build with colour output when on a tty/console.

This commit is contained in:
David Brown 2016-11-15 17:33:05 +00:00
parent f08e49d856
commit 6da0d5d685
7 changed files with 195 additions and 176 deletions

View file

@ -1,15 +1,15 @@
IntSyntax.mod compiling IntSyntax.
14: i := l; (* Bad, INTEGER shorter than LONGINT *)
^
pos 341 err 113 incompatible assignment
^
pos 341 err 113 incompatible assignment
15: s := l; (* Bad, SHORTINT shorter than LONGINT *)
^
pos 393 err 113 incompatible assignment
^
pos 393 err 113 incompatible assignment
16: i := l; (* Bad, SHORTINT shorter than INTEGER *)
^
pos 446 err 113 incompatible assignment
^
pos 446 err 113 incompatible assignment
Module compilation failed.

View file

@ -1,5 +1,5 @@
#!/bin/sh
. ../testenv.sh
# Generate mixed source and assembly code listing
$OBECOMP IntSyntax.mod -m >result
$OBECOMP IntSyntax.mod -fm >result
. ../testresult.sh