eqn: enlarge errbuf to account for large tokens
This commit is contained in:
parent
20c14efad6
commit
4e6bb208eb
@ -20,7 +20,7 @@ extern int class[LAST][LAST];
|
|||||||
|
|
||||||
#undef sprintf /* Snow Leopard */
|
#undef sprintf /* Snow Leopard */
|
||||||
|
|
||||||
extern char errbuf[200];
|
extern char errbuf[2000];
|
||||||
extern char *cmdname;
|
extern char *cmdname;
|
||||||
#define ERROR sprintf(errbuf,
|
#define ERROR sprintf(errbuf,
|
||||||
#define FATAL ), error(1, errbuf)
|
#define FATAL ), error(1, errbuf)
|
||||||
|
|||||||
@ -255,7 +255,7 @@ void yyerror(char *s)
|
|||||||
error(0, s); /* temporary */
|
error(0, s); /* temporary */
|
||||||
}
|
}
|
||||||
|
|
||||||
char errbuf[200];
|
char errbuf[2000];
|
||||||
|
|
||||||
void eprint(void) /* try to print context around error */
|
void eprint(void) /* try to print context around error */
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user