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/c11.l | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bin/c11.l') diff --git a/bin/c11.l b/bin/c11.l index 06006e3f..a4b8c25a 100644 --- a/bin/c11.l +++ b/bin/c11.l @@ -15,7 +15,7 @@ */ %option prefix="c11" -%option noyywrap +%option noinput nounput noyywrap %{ #include "hilex.h" @@ -139,11 +139,6 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while | .|\n { return Normal; } -%{ - (void)yyunput; - (void)input; -%} - %% const struct Lexer LexC = { yylex, &yyin, &yytext }; -- cgit 1.4.1