summary refs log tree commit diff
path: root/bin/c11.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
commite6513fe186c2e293eb07ef20af53d73e39e8bde0 (patch)
treec7a744596d030f198434c6dfdc7a0491048c1f96 /bin/c11.l
parentAdd Sorrowland (diff)
downloadsrc-e6513fe186c2e293eb07ef20af53d73e39e8bde0.tar.gz
src-e6513fe186c2e293eb07ef20af53d73e39e8bde0.zip
Use noinput, nounput options in lex files
Diffstat (limited to 'bin/c11.l')
-rw-r--r--bin/c11.l7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/c11.l b/bin/c11.l
index 06006e3f..a4b8c25a 100644
--- a/bin/c11.l
+++ b/bin/c11.l
@@ -15,7 +15,7 @@
  */
 
 %option prefix="c11"
-%option noyywrap
+%option noinput nounput noyywrap
 
 %{
 #include "hilex.h"
@@ -139,11 +139,6 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while |
 
 .|\n { return Normal; }
 
-%{
-	(void)yyunput;
-	(void)input;
-%}
-
 %%
 
 const struct Lexer LexC = { yylex, &yyin, &yytext };