home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
c
/
lex.arc
/
LEXERR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1984-02-26
|
512b
|
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
*/
#include <stdio.h>
#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);
}