SBSPSS/Utils/Parser Generator/SOURCE/yycerror.cpp
2000-12-08 20:40:33 +00:00

21 lines
464 B
C++

/************************************************************
yycerror.cpp
This file can be freely modified for the generation of
custom code.
Copyright (c) 1999 Bumble-Bee Software Ltd.
************************************************************/
#include <stdio.h>
#include "cyacc.h"
void yyparser::yyerror(const char YYFAR* text)
{
yyassert(text != NULL);
yyassert(yyerr != NULL);
while (*text != '\0') {
putc(*text++, yyerr);
}
putc('\n', yyerr);
}