summary refs log tree commit diff
path: root/bin/mdoc.l
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-11-28 17:58:54 -0500
committerJune McEnroe <june@causal.agency>2021-11-28 17:58:54 -0500
commit9541097134edf58b0f3401506a777f95da0c616e (patch)
tree97a4579b864f9dae8db29a3c06de4d752c0c2543 /bin/mdoc.l
parentAdd Sorrowland (diff)
downloadsrc-9541097134edf58b0f3401506a777f95da0c616e.tar.gz
src-9541097134edf58b0f3401506a777f95da0c616e.zip
Use noinput, nounput options in lex files
Diffstat (limited to 'bin/mdoc.l')
-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 };