summaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2024-01-01 12:22:46 +0100
committerTim Wiederhake <twied@gmx.net>2024-01-01 12:22:46 +0100
commitd26411efbc69e5350d9ae7cebbdb2e91738e3b8e (patch)
treec06543f0e813937b807401c3129c58062e80f3b7 /src/lex.l
parentf810178b1fae09be1ac15e223a84ddf2031eb93f (diff)
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 <twied@gmx.net>
Diffstat (limited to 'src/lex.l')
-rw-r--r--src/lex.l1
1 files changed, 0 insertions, 1 deletions
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)))