option noinput nounput

This commit is contained in:
christos 2009-10-29 14:37:16 +00:00
parent 926a7cc331
commit be9443776f
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2009/04/20 16:05:30 drochner Exp $
# $NetBSD: Makefile,v 1.7 2009/10/29 14:37:16 christos Exp $
NOMAN=# defined (must come before bsd.own.mk)
@ -15,7 +15,7 @@ SRCS= yacc.y lex.l \
CPPFLAGS+= -I. -I${.CURDIR} -I${NETBSDSRCDIR}/lib/libc \
-I${NETBSDSRCDIR}/lib/libc/citrus \
-I${NETBSDSRCDIR}/lib/libc/citrus/modules \
-DHOSTPROG -DLIBC_SCCS -DYY_NO_INPUT
-DHOSTPROG -DLIBC_SCCS
YHEADER= 1
.ifndef HOSTPROG

View File

@ -1,4 +1,4 @@
/* $NetBSD: lex.l,v 1.5 2009/10/28 22:09:02 christos Exp $ */
/* $NetBSD: lex.l,v 1.6 2009/10/29 14:37:16 christos Exp $ */
%{
/*-
@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: lex.l,v 1.5 2009/10/28 22:09:02 christos Exp $");
__RCSID("$NetBSD: lex.l,v 1.6 2009/10/29 14:37:16 christos Exp $");
#endif /* not lint */
#include <assert.h>
@ -49,10 +49,11 @@ __RCSID("$NetBSD: lex.l,v 1.5 2009/10/28 22:09:02 christos Exp $");
int line_number = 1;
#define YY_NO_UNPUT
%}
%option noinput nounput
%x COMMENT
%%