mirror of
https://github.com/PDP-10/its.git
synced 2026-03-22 17:08:15 +00:00
21 lines
357 B
C
21 lines
357 B
C
/*
|
|
* lexerr.c
|
|
*
|
|
* Bob Denny 28-Aug-82
|
|
* Move stdio dependencies to lexerr(), lexget(), lexech() and mapch()
|
|
*
|
|
* This is one of 4 modules in lexlib which depend
|
|
* upon the standard I/O package.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <lex.h>
|
|
|
|
lexerror(s)
|
|
{
|
|
if (yyline)
|
|
fprintf(stderr, "%d: ", yyline);
|
|
fprintf(stderr, "%s", s);
|
|
fprintf(stderr, "\n");
|
|
}
|