mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
eqn: enlarge errbuf to account for large tokens
This commit is contained in:
parent
20c14efad6
commit
4e6bb208eb
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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 */
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue