summary refs log tree commit diff
path: root/bin/dehtml.l
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dehtml.l')
-rw-r--r--bin/dehtml.l6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/dehtml.l b/bin/dehtml.l
index 51e7f4f7..799f0926 100644
--- a/bin/dehtml.l
+++ b/bin/dehtml.l
@@ -1,4 +1,4 @@
-/* Copyright (C) 2021  C. McEnroe <june@causal.agency>
+/* Copyright (C) 2021  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
@@ -14,7 +14,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-%option noyywrap
+%option noinput nounput noyywrap
 
 %{
 enum Token {
@@ -101,8 +101,6 @@ static bool isTag(const char *tag) {
 }
 
 int main(int argc, char *argv[]) {
-	(void)input;
-	(void)yyunput;
 	setlocale(LC_CTYPE, "");
 
 	bool collapse = 0;