summary refs log tree commit diff
path: root/bin/c11.l
diff options
context:
space:
mode:
Diffstat (limited to 'bin/c11.l')
-rw-r--r--bin/c11.l9
1 files changed, 2 insertions, 7 deletions
diff --git a/bin/c11.l b/bin/c11.l
index 06006e3f..b1f0b960 100644
--- a/bin/c11.l
+++ b/bin/c11.l
@@ -1,4 +1,4 @@
-/* Copyright (C) 2020  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2020  June McEnroe <june@causal.agency>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as published by
@@ -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 };