mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 06:22:25 +00:00
Build with colour output when on a tty/console.
This commit is contained in:
parent
f08e49d856
commit
6da0d5d685
7 changed files with 195 additions and 176 deletions
|
|
@ -1,15 +1,15 @@
|
|||
IntSyntax.mod compiling IntSyntax.
|
||||
|
||||
14: i := l; (* Bad, INTEGER shorter than LONGINT *)
|
||||
[32m^[0m
|
||||
pos 341[31m err [0m113 incompatible assignment
|
||||
^
|
||||
pos 341 err 113 incompatible assignment
|
||||
|
||||
15: s := l; (* Bad, SHORTINT shorter than LONGINT *)
|
||||
[32m^[0m
|
||||
pos 393[31m err [0m113 incompatible assignment
|
||||
^
|
||||
pos 393 err 113 incompatible assignment
|
||||
|
||||
16: i := l; (* Bad, SHORTINT shorter than INTEGER *)
|
||||
[32m^[0m
|
||||
pos 446[31m err [0m113 incompatible assignment
|
||||
^
|
||||
pos 446 err 113 incompatible assignment
|
||||
|
||||
Module compilation failed.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue