From: Gunnar Beutner Date: Thu, 6 Nov 2014 05:23:25 +0000 (+0100) Subject: Fix compiler warnings for the lexers X-Git-Tag: v2.2.0~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bbb2bfb7b89d39371488b11a5e5fea39b32b87a;p=icinga2 Fix compiler warnings for the lexers --- diff --git a/lib/config/config_lexer.ll b/lib/config/config_lexer.ll index 23b46deeb..a578707fb 100644 --- a/lib/config/config_lexer.ll +++ b/lib/config/config_lexer.ll @@ -98,6 +98,7 @@ static char *lb_steal(lex_buf *lb) %option reentrant noyywrap yylineno %option bison-bridge bison-locations %option never-interactive nounistd +%option noinput nounput %x C_COMMENT %x STRING diff --git a/tools/mkclass/class_lexer.ll b/tools/mkclass/class_lexer.ll index 8ecf95da7..10f351be0 100644 --- a/tools/mkclass/class_lexer.ll +++ b/tools/mkclass/class_lexer.ll @@ -92,6 +92,7 @@ static char *lb_steal(lex_buf *lb) %option reentrant noyywrap yylineno %option bison-bridge bison-locations %option never-interactive nounistd +%option noinput nounput %x HEREDOC %x C_COMMENT