diff options
author | brucec <brucec@FreeBSD.org> | 2010-11-22 14:16:22 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2010-11-22 14:16:22 +0000 |
commit | 3aec76f035865d47bf52471aecdc000518a7d857 (patch) | |
tree | bfa6b6b55bcc96368e3e62dae19de181e5d0225d /usr.sbin | |
parent | 81eaf1c5874fd3b8b14321ec439cbaf24c2c4474 (diff) | |
download | FreeBSD-src-3aec76f035865d47bf52471aecdc000518a7d857.zip FreeBSD-src-3aec76f035865d47bf52471aecdc000518a7d857.tar.gz |
Don't generate input() since it's not used.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/apmd/apmdlex.l | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/bthidd/lexer.l | 2 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hcsecd/lexer.l | 2 | ||||
-rw-r--r-- | usr.sbin/config/lang.l | 1 | ||||
-rw-r--r-- | usr.sbin/kbdcontrol/lex.l | 1 |
5 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/apmd/apmdlex.l b/usr.sbin/apmd/apmdlex.l index 0f95574..dc7664d 100644 --- a/usr.sbin/apmd/apmdlex.l +++ b/usr.sbin/apmd/apmdlex.l @@ -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; diff --git a/usr.sbin/bluetooth/bthidd/lexer.l b/usr.sbin/bluetooth/bthidd/lexer.l index a25ae92..54821da 100644 --- a/usr.sbin/bluetooth/bthidd/lexer.l +++ b/usr.sbin/bluetooth/bthidd/lexer.l @@ -39,7 +39,7 @@ int yylex (void); %} -%option yylineno noyywrap nounput +%option yylineno noyywrap nounput noinput delim [ \t\n] ws {delim}+ diff --git a/usr.sbin/bluetooth/hcsecd/lexer.l b/usr.sbin/bluetooth/hcsecd/lexer.l index 2430d7e..578b42f 100644 --- a/usr.sbin/bluetooth/hcsecd/lexer.l +++ b/usr.sbin/bluetooth/hcsecd/lexer.l @@ -34,7 +34,7 @@ #include "parser.h" %} -%option yylineno noyywrap nounput +%option yylineno noyywrap nounput noinput delim [ \t\n] ws {delim}+ diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l index 4eb94da..81f820f 100644 --- a/usr.sbin/config/lang.l +++ b/usr.sbin/config/lang.l @@ -39,6 +39,7 @@ #include "config.h" #define YY_NO_UNPUT +#define YY_NO_INPUT /* * Data for returning to previous files from include files. diff --git a/usr.sbin/kbdcontrol/lex.l b/usr.sbin/kbdcontrol/lex.l index 7d9fd53..e9ca2bc 100644 --- a/usr.sbin/kbdcontrol/lex.l +++ b/usr.sbin/kbdcontrol/lex.l @@ -32,6 +32,7 @@ #include "lex.h" #define YY_NO_UNPUT +#define YY_NO_INPUT %} |