scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 31b9dcca7a6cdf594f692382a1ca97171cbf95bc
parent 9232dc4ce2496e0616515b01c22bbb4680646f92
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 29 Sep 2017 09:38:04 +0100

[as] Fix list of arguments in gen.awk

Only the last argument was printed to the intermediate
file because the concatenation was lost.

Diffstat:
as/target/gen.awk | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/as/target/gen.awk b/as/target/gen.awk @@ -67,11 +67,11 @@ function str2args(s, args, i, out) for (i in args) { a = args[i] if (match(a, /^imm8/)) { - out = "AIMM8" + out = out "AIMM8" } else if (match(a, /^imm16/)) { - out = "AIMM16" + out = out "AIMM16" } else if (match(a, /^imm32/)) { - out = "AIMM32" + out = out "AIMM32" } else if (match(a, /^imm64/)) { out = "AIMM64" } else {