1 /* te.c: error message control, input line count */
7 fprintf(stderr
, "\n%s:%d: %s\n", ifile
, iline
, s
);
8 fprintf(stderr
, "tbl quits\n");
12 char *gets1(char *s
, int size
)
19 if (!fgets(s
, size
, tabin
)) {
24 s
[nbl
- 1] = '\0'; /* remove the newline */
26 for (nbl
= 0; *s
== '\\' && s
> ns
; s
--)
28 if (linstart
&& nbl
% 2) /* fold escaped nl if in table */
29 gets1(s
+ 1, size
- (s
- ns
));
44 if (backp
>= backup
+ BACKMAX
)
45 error("too much backup");
58 error("unexpected EOF");