Esempio n. 1
0
void yyerror(char *s)
{
	printf("*ERROR*\t");
	fstk_Dump();
	printf(" :\n\t%s\n", s);
	nErrors += 1;
}
Esempio n. 2
0
void
verror(const char *fmt, va_list args)
{
	fprintf(stderr, "ERROR:\t");
	fstk_Dump();
	fprintf(stderr, " :\n\t");
	vfprintf(stderr, fmt, args);
	fprintf(stderr, "\n");
	nErrors += 1;
}