scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 6717beb3e1a3d68eb21cdabe8915bd1db8bd4904
parent 64178287a32c1317f03b9086964373a4cec9b16f
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 19 Dec 2017 07:35:02 +0100

[as] Make test.sh clearer

Diffstat:
Mas/test.sh | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/as/test.sh b/as/test.sh @@ -10,9 +10,9 @@ trap "rm -f a.out $tmp1 $tmp2" 0 2 3 ./as-$cpu target/$cpu/test.s sed -n '/^\// ! { - s/.*\/ // - s/ */\ -/g + s%.*/ %% + s% *%\ +/% w '$tmp1' }' target/$cpu/test.s @@ -20,9 +20,9 @@ sed -n '/^\// ! { ../objdump/objdump | sed -n '/^data:/,$ { /^data:/ ! { - s/.*: // - s/ */\ -/g + s%.*: %% + s% *%\ +%g w '$tmp2' } }'