From e6513fe186c2e293eb07ef20af53d73e39e8bde0 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 28 Nov 2021 17:58:54 -0500 Subject: Use noinput, nounput options in lex files --- bin/sh.l | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bin/sh.l') diff --git a/bin/sh.l b/bin/sh.l index b27ecebc..9664b009 100644 --- a/bin/sh.l +++ b/bin/sh.l @@ -15,7 +15,7 @@ */ %option prefix="sh" -%option noyywrap +%option noinput nounput noyywrap %{ #include @@ -168,11 +168,6 @@ reserved [!{}]|else|do|elif|for|done|fi|then|until|while|if|case|esac .|\n { return Normal; } -%{ - (void)yyunput; - (void)input; -%} - %% const struct Lexer LexSh = { yylex, &yyin, &yytext }; -- cgit 1.4.1