home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
fileutil
/
scan.lha
/
src
/
lexerror.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-21
|
547b
|
21 lines
/*
* 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.
* Scott Guthery 20-Nov-83 Adapt for IBM PC & DeSmet C
* William Lee 28-Dec-86 Adapt for Commodore-Amiga 1000 and Lattice C.
*/
#include "lex.h"
extern int yyline;
lexerror(s, arg1, arg2, arg3)
char *s;
int arg1, arg2, arg3;
{
if (yyline)
fprintf(stderr, "%d: ", yyline);
fprintf(stderr, s, arg1, arg2, arg3);
}