summary refs log tree commit diff
path: root/bin/mdoc.l
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/mdoc.l7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/mdoc.l b/bin/mdoc.l
index 2680b722..b6deacbe 100644
--- a/bin/mdoc.l
+++ b/bin/mdoc.l
@@ -15,7 +15,7 @@
  */
 
 %option prefix="mdoc"
-%option noyywrap
+%option noinput nounput noyywrap
 
 %{
 #include "hilex.h"
@@ -55,11 +55,6 @@
 
 .|\n { return Normal; }
 
-%{
-	(void)yyunput;
-	(void)input;
-%}
-
 %%
 
 const struct Lexer LexMdoc = { yylex, &yyin, &yytext };