This commit is contained in:
parent
f857751606
commit
aae2e8e05f
168 changed files with 11625 additions and 0 deletions
25
Utils/Parser Generator/SOURCE/yyserror.c
Normal file
25
Utils/Parser Generator/SOURCE/yyserror.c
Normal file
|
@ -0,0 +1,25 @@
|
|||
/************************************************************
|
||||
yyserror.c
|
||||
This file can be freely modified for the generation of
|
||||
custom code.
|
||||
|
||||
Copyright (c) 1999 Bumble-Bee Software Ltd.
|
||||
************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "yacc.h"
|
||||
|
||||
#ifdef YYPROTOTYPE
|
||||
void YYCDECL yyerror(YYCONST char YYFAR *text)
|
||||
#else
|
||||
void YYCDECL yyerror(text)
|
||||
YYCONST char YYFAR *text;
|
||||
#endif
|
||||
{
|
||||
yyassert(text != NULL);
|
||||
yyassert(yyparseerr != NULL);
|
||||
while (*text != '\0') {
|
||||
putc(*text++, yyparseerr);
|
||||
}
|
||||
putc('\n', yyparseerr);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue