| Date: Fri, 29 Jan 2021 05:35:40 +0000
eqn: enlarge errbuf to account for large tokens
Diffstat:
M src/cmd/eqn/e.h | 2 +-
M src/cmd/eqn/input.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- |
| t@@ -20,7 +20,7 @@ extern int class[LAST][LAST];
#undef sprintf /* Snow Leopard */
-extern char errbuf[200];
+extern char errbuf[2000];
extern char *cmdname;
#define ERROR sprintf(errbuf,
#define FATAL ), error(1, errbuf) |
| t@@ -255,7 +255,7 @@ void yyerror(char *s)
error(0, s); /* temporary */
}
-char errbuf[200];
+char errbuf[2000];
void eprint(void) /* try to print context around error */
{ |