From b0ecb5d4598237a424ab634efeec076a0424db69 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 12 Apr 2024 22:52:32 +0200 Subject: [PATCH] disable generation of unput() and input() in lexer to avoid code check fail --- src/lex/lexer.l | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lex/lexer.l b/src/lex/lexer.l index a17888b..d491001 100644 --- a/src/lex/lexer.l +++ b/src/lex/lexer.l @@ -6,6 +6,11 @@ int yylex(); %} +// disable the following functions +// to avoid failing code check +%option nounput +%option noinput + %% .; -%% \ No newline at end of file +%%