linenumber in long instead of short
authorceriel <none@none>
Mon, 13 Jun 1988 15:28:19 +0000 (15:28 +0000)
committerceriel <none@none>
Mon, 13 Jun 1988 15:28:19 +0000 (15:28 +0000)
mach/proto/as/comm1.h
mach/proto/as/comm7.c

index fc4a7a9..795a58c 100644 (file)
@@ -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);
index b4951f1..86e949f 100644 (file)
@@ -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);