From: ceriel Date: Mon, 13 Jun 1988 15:28:19 +0000 (+0000) Subject: linenumber in long instead of short X-Git-Tag: release-5-5~3208 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=192de9bf32c0751769a97645c3d2540dd60817b2;p=ack.git linenumber in long instead of short --- diff --git a/mach/proto/as/comm1.h b/mach/proto/as/comm1.h index fc4a7a9df..795a58c67 100644 --- a/mach/proto/as/comm1.h +++ b/mach/proto/as/comm1.h @@ -18,7 +18,7 @@ extern short pass INIT(PASS_1); /* PASS 1, 2 or 3 */ extern short peekc; /* push back symbol (PASS_1) */ extern short unresolved; /* number of unresolved references */ -extern short lineno; /* input line number */ +extern long lineno; /* input line number */ extern short hllino; /* high-level language line number */ extern short nerrors; /* terminate at end of pass if set */ extern short sflag INIT(SYM_DEF); diff --git a/mach/proto/as/comm7.c b/mach/proto/as/comm7.c index b4951f135..86e949fb5 100644 --- a/mach/proto/as/comm7.c +++ b/mach/proto/as/comm7.c @@ -388,7 +388,7 @@ char *tail, *s; { fflush(stdout); if (modulename) - fprintf(stderr, "\"%s\", line %d: ", modulename, lineno); + fprintf(stderr, "\"%s\", line %ld: ", modulename, lineno); else fprintf(stderr, "%s: ", progname); fprintf(stderr, s, a1, a2, a3, a4);