diff options
author | June McEnroe <june@causal.agency> | 2021-11-28 17:58:54 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-11-28 17:58:54 -0500 |
commit | e6513fe186c2e293eb07ef20af53d73e39e8bde0 (patch) | |
tree | c7a744596d030f198434c6dfdc7a0491048c1f96 /bin/sh.l | |
parent | Add Sorrowland (diff) | |
download | src-e6513fe186c2e293eb07ef20af53d73e39e8bde0.tar.gz src-e6513fe186c2e293eb07ef20af53d73e39e8bde0.zip |
Use noinput, nounput options in lex files
Diffstat (limited to 'bin/sh.l')
-rw-r--r-- | bin/sh.l | 7 |
1 files changed, 1 insertions, 6 deletions
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 <assert.h> @@ -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 }; |