summary refs log tree commit diff
path: root/bin/dehtml.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/dehtml.l
parentAdd Sorrowland (diff)
downloadsrc-9541097134edf58b0f3401506a777f95da0c616e.tar.gz
src-9541097134edf58b0f3401506a777f95da0c616e.zip
Use noinput, nounput options in lex files
Diffstat (limited to 'bin/dehtml.l')
-rw-r--r--bin/dehtml.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/dehtml.l b/bin/dehtml.l
index 45efc5d1..799f0926 100644
--- a/bin/dehtml.l
+++ b/bin/dehtml.l
@@ -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;