Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/wsmoused option noinput nounput
details: https://anonhg.NetBSD.org/src/rev/a3bfdd960426
branches: trunk
changeset: 748637:a3bfdd960426
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 29 14:40:09 2009 +0000
description:
option noinput nounput
diffstat:
usr.sbin/wsmoused/Makefile | 4 ++--
usr.sbin/wsmoused/config_lex.l | 7 +++----
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (49 lines):
diff -r 29e3a886cedb -r a3bfdd960426 usr.sbin/wsmoused/Makefile
--- a/usr.sbin/wsmoused/Makefile Thu Oct 29 14:39:23 2009 +0000
+++ b/usr.sbin/wsmoused/Makefile Thu Oct 29 14:40:09 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/04/22 15:23:10 lukem Exp $
+# $NetBSD: Makefile,v 1.9 2009/10/29 14:40:09 christos Exp $
#
WARNS?= 2 # XXX -Wcast-qual (etc)
@@ -21,7 +21,7 @@
SRCS+= selection.c
.endif
-CPPFLAGS+= -I${.CURDIR} -I. -DYY_NO_INPUT
+CPPFLAGS+= -I${.CURDIR} -I.
LDADD+= -lutil
YHEADER= yes
diff -r 29e3a886cedb -r a3bfdd960426 usr.sbin/wsmoused/config_lex.l
--- a/usr.sbin/wsmoused/config_lex.l Thu Oct 29 14:39:23 2009 +0000
+++ b/usr.sbin/wsmoused/config_lex.l Thu Oct 29 14:40:09 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config_lex.l,v 1.6 2009/10/28 22:49:38 christos Exp $ */
+/* $NetBSD: config_lex.l,v 1.7 2009/10/29 14:40:09 christos Exp $ */
/*
* Copyright (c) 2003, 2004 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: config_lex.l,v 1.6 2009/10/28 22:49:38 christos Exp $");
+__RCSID("$NetBSD: config_lex.l,v 1.7 2009/10/29 14:40:09 christos Exp $");
#endif /* not lint */
#include <stdio.h>
@@ -50,11 +50,10 @@
extern int yyerror(const char *fmt, ...);
int yylex(void);
-#define YY_NO_UNPUT
%}
-%option noyywrap
+%option noyywrap noinput nounput
STRING [\$A-Za-z\.\/_\-0-9]*
SP_STRING [\$A-Za-z\.\/_\-0-9 ]*
Home |
Main Index |
Thread Index |
Old Index