From 192de9bf32c0751769a97645c3d2540dd60817b2 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 13 Jun 1988 15:28:19 +0000 Subject: [PATCH] linenumber in long instead of short --- mach/proto/as/comm1.h | 2 +- mach/proto/as/comm7.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.34.1