Project

General

Profile

Bug #77 ยป lex.diff

kevin.kane, 01/19/2006 07:54 PM

View differences:

Makefile 19 Jan 2006 21:29:05 -0000
SRCS= scan.c ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.y \
skel.c sym.c tblcmp.c yylex.c
WARNS?= 6
LFLAGS+= -is
CFLAGS+= -I. -I${.CURDIR}
INCS= FlexLexer.h
lib/Makefile 19 Jan 2006 21:26:22 -0000
# $DragonFly: src/usr.bin/lex/lib/Makefile,v 1.3 2005/07/30 13:59:45 joerg Exp $
LIB= ln
WARNS?= 6
SRCS= libmain.c libyywrap.c
NOPIC= yes
lib/libmain.c 19 Jan 2006 21:26:58 -0000
extern int yylex();
int main( argc, argv )
int argc;
char *argv[];
{
while ( yylex() != 0 )
;
int main( int argc, char *argv )
{
while ( yylex() != 0 )
;
return 0;
}
return 0;
}
lib/libyywrap.c 19 Jan 2006 21:17:53 -0000
* $DragonFly: src/usr.bin/lex/lib/libyywrap.c,v 1.2 2003/06/17 04:29:28 dillon Exp $
*/
int yywrap()
{
return 1;
}
int yywrap(void)
{
return 1;
}
    (1-1/1)