option noinput
This commit is contained in:
parent
792f03d2b0
commit
926a7cc331
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.7 2009/04/20 16:05:30 drochner Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2009/10/29 14:35:25 christos Exp $
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR} -DYY_NO_INPUT
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
PROG= fgen
|
||||
SRCS= fgen.l
|
||||
MAN= fgen.1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
%{
|
||||
/* $NetBSD: fgen.l,v 1.31 2009/10/19 18:12:37 snj Exp $ */
|
||||
/* $NetBSD: fgen.l,v 1.32 2009/10/29 14:35:25 christos Exp $ */
|
||||
/* FLEX input for FORTH input file scanner */
|
||||
/*
|
||||
* Copyright (c) 1998 Eduardo Horvath.
|
||||
|
@ -42,12 +42,12 @@
|
|||
#endif
|
||||
|
||||
#if defined(__RCSID) && !defined(lint)
|
||||
__RCSID("$NetBSD: fgen.l,v 1.31 2009/10/19 18:12:37 snj Exp $");
|
||||
__RCSID("$NetBSD: fgen.l,v 1.32 2009/10/29 14:35:25 christos Exp $");
|
||||
#endif
|
||||
|
||||
%}
|
||||
|
||||
%option yylineno
|
||||
%option yylineno noinput
|
||||
|
||||
decimal [0-9.]
|
||||
hex [0-9A-Fa-f.]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2009/04/20 16:05:30 drochner Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2009/10/29 14:36:14 christos Exp $
|
||||
|
||||
WARNS?= 1 # XXX -Wshadow -Wcast-qual issues
|
||||
|
||||
|
@ -6,7 +6,7 @@ WARNS?= 1 # XXX -Wshadow -Wcast-qual issues
|
|||
|
||||
PROG= menuc
|
||||
SRCS= main.c parse.y scan.l avl.c mdb.c util.c
|
||||
CPPFLAGS+= -I. -I${.CURDIR} -DYY_NO_INPUT
|
||||
CPPFLAGS+= -I. -I${.CURDIR}
|
||||
YHEADER=
|
||||
|
||||
.if ${MKSHARE} != "no"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: scan.l,v 1.14 2004/08/02 21:29:07 dsl Exp $ */
|
||||
/* $NetBSD: scan.l,v 1.15 2009/10/29 14:36:14 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -52,6 +52,8 @@ static int comstart; /* line number of comment start. */
|
|||
%x COMMENT
|
||||
%x BRACE
|
||||
|
||||
%option noinput
|
||||
|
||||
%%
|
||||
|
||||
[ \t]+ { /* ignore spaces and tabs */ }
|
||||
|
|
Loading…
Reference in New Issue