summary refs log tree commit diff
path: root/bin/sh.l
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh.l')
-rw-r--r--bin/sh.l7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/sh.l b/bin/sh.l
index b27ecebc..9664b009 100644
--- a/bin/sh.l
+++ b/bin/sh.l
@@ -15,7 +15,7 @@
  */
 
 %option prefix="sh"
-%option noyywrap
+%option noinput nounput noyywrap
 
 %{
 #include <assert.h>
@@ -168,11 +168,6 @@ reserved [!{}]|else|do|elif|for|done|fi|then|until|while|if|case|esac
 
 .|\n { return Normal; }
 
-%{
-	(void)yyunput;
-	(void)input;
-%}
-
 %%
 
 const struct Lexer LexSh = { yylex, &yyin, &yytext };