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 | 9541097134edf58b0f3401506a777f95da0c616e (patch) | |
tree | 97a4579b864f9dae8db29a3c06de4d752c0c2543 /bin/sh.l | |
parent | Add Sorrowland (diff) | |
download | src-9541097134edf58b0f3401506a777f95da0c616e.tar.gz src-9541097134edf58b0f3401506a777f95da0c616e.zip |
Use noinput, nounput options in lex files
Diffstat (limited to '')
-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 9fc241da..f26e3feb 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 }; |