Don't generate input() since it's not used.

This commit is contained in:
Rebecca Cran
2010-11-22 14:16:22 +00:00
parent 526384ecf2
commit e267ef95d5
7 changed files with 7 additions and 3 deletions
+1
View File
@@ -25,6 +25,7 @@ CFLAGS+=-DINET6
.endif
# This is needed to have WARNS > 1.
CFLAGS+=-DYY_NO_UNPUT
CFLAGS+=-DYY_NO_INPUT
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
LDADD= -lgeom -lbsdxml -lsbuf -ll -lpthread -lutil
+1 -1
View File
@@ -4,7 +4,7 @@ PROG= colldef
SRCS= parse.y scan.l y.tab.h
LFLAGS= -8 -i
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale
CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT
CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT -DYY_NO_INPUT
LDADD= -ll
DPADD= ${LIBL}
+1
View File
@@ -38,6 +38,7 @@
/* We don't need it, avoid the warning. */
#define YY_NO_UNPUT
#define YY_NO_INPUT
int lineno;
int first_time;
+1 -1
View File
@@ -39,7 +39,7 @@
int yylex (void);
%}
%option yylineno noyywrap nounput
%option yylineno noyywrap nounput noinput
delim [ \t\n]
ws {delim}+
+1 -1
View File
@@ -34,7 +34,7 @@
#include "parser.h"
%}
%option yylineno noyywrap nounput
%option yylineno noyywrap nounput noinput
delim [ \t\n]
ws {delim}+
+1
View File
@@ -39,6 +39,7 @@
#include "config.h"
#define YY_NO_UNPUT
#define YY_NO_INPUT
/*
* Data for returning to previous files from include files.
+1
View File
@@ -32,6 +32,7 @@
#include "lex.h"
#define YY_NO_UNPUT
#define YY_NO_INPUT
%}