From: ceriel Date: Thu, 20 Oct 1988 13:01:04 +0000 (+0000) Subject: Added common() routine X-Git-Tag: release-5-5~2785 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a281cc38a40a10a9d5e19925a4e7e51007bfbd30;p=ack.git Added common() routine --- diff --git a/util/ceg/ce_back/as_back/bss.c b/util/ceg/ce_back/as_back/bss.c index 2545fdfce..818b89e1f 100644 --- a/util/ceg/ce_back/as_back/bss.c +++ b/util/ceg/ce_back/as_back/bss.c @@ -3,5 +3,20 @@ bss( n) arith n; { - fprint( codefile, BSS_FMT, (arith) n); + fprint( codefile, BSS_FMT, (long) n); +} + +common(n) +arith n; +{ + extern int saved; + extern char labeltje[]; + + if (saved) { + fprint( codefile, COMM_FMT, labeltje, (long) n); + saved = 0; + return; + } + switchseg(SEGBSS); + bss(n); }