From d26411efbc69e5350d9ae7cebbdb2e91738e3b8e Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Mon, 1 Jan 2024 12:22:46 +0100 Subject: Remove redundant declaration of yylineno yylineno is already declared in (the generated) gram.h. This silences a "redundant redeclaration of 'yylineno'" warning. Signed-off-by: Tim Wiederhake --- src/lex.l | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lex.l b/src/lex.l index 81be8e8..13b85e6 100644 --- a/src/lex.l +++ b/src/lex.l @@ -71,7 +71,6 @@ in this Software without prior written authorization from The Open Group. #include "parse.h" #ifdef FLEX_SCANNER -int yylineno; #undef YY_INPUT #define YY_INPUT(buf,result,size) ((result) = doinput((buf),(size))) -- cgit v1.2.3