| Message ID | 20261205201625.2213794-7-adolf.belka@ipfire.org |
|---|---|
| State | New |
| Headers |
Return-Path: <development+bounces-3418-patchwork=ipfire.org@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jhflc6vBZz3www for <patchwork@web04.haj.ipfire.org>; Sat, 05 Dec 2026 20:16:44 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jhflb6qK0z84q for <patchwork@ipfire.org>; Sat, 05 Dec 2026 20:16:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jhflV3bFpz2yh7 for <patchwork@ipfire.org>; Sat, 05 Dec 2026 20:16:38 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jhflL6yRKz2yGH for <development@lists.ipfire.org>; Sat, 05 Dec 2026 20:16:30 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jhflL3sddz4kf; Sat, 05 Dec 2026 20:16:30 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796501790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7h7UTSjLN+xrQNa2D2Dm4/A0r+Q1gBdHdOUpRm8n4iM=; b=LLddKldLFyJsm613mFH4n0wHi6PsmvU6xkqB5ISEvoQXVR+Wl25bq8ldkDYar2kgLCZlev qTid4pkvy0UCh1CA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796501790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7h7UTSjLN+xrQNa2D2Dm4/A0r+Q1gBdHdOUpRm8n4iM=; b=eDGIFarqS64vbhsWc7e4RBTWHpl4WEpglAuvU7ACwF/UUlDalTXkaVmMUU7BdkLdcw6fZW hmFAgTeNbtgVb+UTuK2d5ABsCIqpL8ZoPMFibR6Oq6DMPrEInvZ1+OdS5YU+zcszRaAUWf ynAX+TPS8vKMAoV4REvqTPn05dwdMkcGFhjIjVxPjLCxY+LcGNEUGlC8LYFXcjuRoYVsb3 3bVx0wQkwTTGhDwPnN9mM0r8Dr3yiyzuvFU4lncsvjTi31r2dGRqDEOieDlTCM7XUvouLY dh6gZwX/Gvvdm/JMqGOD50zQ9pu6o0XpwI9pDlGcovcLHOEThmaMjoUqc2UTqA== From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Cc: Adolf Belka <adolf.belka@ipfire.org> Subject: [PATCH] flex: Update to version 2.7.16 Date: Sat, 5 Dec 2026 21:16:15 +0100 Message-ID: <20261205201625.2213794-7-adolf.belka@ipfire.org> In-Reply-To: <20261205201625.2213794-1-adolf.belka@ipfire.org> References: <20261205201625.2213794-1-adolf.belka@ipfire.org> Precedence: list List-Id: <development.lists.ipfire.org> List-Subscribe: <https://lists.ipfire.org/>, <mailto:development+subscribe@lists.ipfire.org?subject=subscribe> List-Unsubscribe: <https://lists.ipfire.org/>, <mailto:development+unsubscribe@lists.ipfire.org?subject=unsubscribe> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development+help@lists.ipfire.org?subject=help> Sender: <development@lists.ipfire.org> Mail-Followup-To: <development@lists.ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
| Series |
flex: Update to version 2.7.16
|
|
Commit Message
Adolf Belka
5 Dec 2026, 8:16 p.m. UTC
- Update from version 2.7.10 to 2.7.16
- No change in rootfile
- Changelog
2.7.16
** scanner
The yydecl option now works in a C++ scanner that also uses the yyclass
option, such as one whose class has its own yylex() method with different
arguments. Before, the generated scanner did not compile. (#949)
2.7.15
** documentation
Updated fr translation from the Translation Project.
** scanner
A scanner built in a strict ISO C mode, such as -std=c99, compiles
on DragonFly BSD. Its <stdio.h> defines fileno as a macro, and the
declaration of fileno that flex adds in these modes was a syntax
error after that. Flex now leaves its own declaration out when
fileno is already a macro. (#936)
2.7.14
** scanner
A scanner built with -CF, or with %option fast, compiles again when
it has a rule that begins with ^. Flex wrote a stray pair of quote
marks and a comma in place of an equals sign in the generated code
that finds the start state, so the C compiler stopped with a syntax
error. This has been so since flex 2.6.5. -Cf and the default
table options were not affected. (#932)
2.7.13
** documentation
Updated bg, ka, lv, nl, pl, pt, pt_BR, ro, sv, uk translations from
the Translation Project.
** scanner
A call in an action to one of the functions of flex 2.6.4 is read up
to its own closing parenthesis. Flex ended the arguments of
yyunput(), yyless() and the other calls at the first closing
parenthesis, so a cast or a nested call cut the call short. A
two-argument yyunput((int) 'b', (char *) yytext) was written as
unput() with two arguments, which does not compile. A parenthesis
or a comma inside a string or character constant no longer counts
either. (#926)
A scanner reads at least 8192 bytes at a time again, as it did in
flex 2.6.4. Since flex 2.6.5 it read BUFSIZ bytes, which is only
1024 on systems with musl, such as Alpine Linux, and on the BSDs. A
scanner built there stopped with "flex scanner push-back overflow"
on a large unput, and so did flex itself. (#925)
The option -DNAME=VALUE works again. Flex wrote it as "#define
NAME=VALUE =VALUE", so the scanner would not compile. It now writes
define NAME VALUE", and -DNAME alone defines NAME as 1. (#923)
2.6.12
** build
make pdf" builds the PDF version of the manual again. Since flex
2.6.5-rc1 it stopped with the error "@TEXI2PDF@: command not found"
instead of running texi2dvi. The PDF is still not included in the
source distribution. (#537)
The repository has a git hook that checks the spelling of the files
in each commit with codespell, alongside the existing hook that
checks commit messages. A clone turns on both with
git config core.hooksPath .githooks". Pull requests are checked
for spelling too. (#909)
** Documentation
The copyright notices have been brought up to date. COPYING and the
manual now give the Flex Project's years as 2001-2026, where they
stopped at 2007. The installed FlexLexer.h header now carries the
Flex Project's copyright and license identifier, and says that a
C++ scanner that includes it is as free of the notice as a scanner
generated for any other language. (#485)
Misspellings in the manual have been corrected. (#909)
** scanner
The option --header-file now works with %option c++. Flex accepted
it and wrote nothing. For a C++ scanner it now writes the
FlexLexer.h of the flex that generated the scanner, and the scanner
includes that file by its name, without the directory, in place of
<FlexLexer.h>. A scanner built for another machine, as when
cross-compiling, then takes its header from the build instead of
from whatever copy the compiler finds on the system. Keep the file
in the scanner's directory, or add its directory to the include
path. (#483)
2.6.11
** scanner
A scanner generated in C mode and compiled as C++ defines its
buffer struct as yy_buffer_state again, as it did before 2.7.8.
Flex 2.7.8 renamed it to yy_c_buffer_state, so a program that
declares struct yy_buffer_state itself failed to link with such a
scanner. A program that links one with a scanner generated with
%option c++ can still give the C scanner a different struct name by
defining YY_C_BUFFER_STATE_TAG, for example as yy_c_buffer_state,
wherever it includes the C scanner's header. (#910)
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
lfs/flex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lfs/flex b/lfs/flex index 984976e21..6761dfd69 100644 --- a/lfs/flex +++ b/lfs/flex @@ -24,7 +24,7 @@ include Config -VER = 2.7.10 +VER = 2.7.16 THISAPP = flex-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -52,7 +52,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 3e20f416385cdb08867b5eff65c14810dff339e4428dd0c76487774fea25c0c1a907423418e1ad6193a0b6804f6197c697e74b774b1f0511d82ed44aa42933fe +$(DL_FILE)_BLAKE2 = ed2d00006a9bfee0ab5bd0b0c42afb9be7c02d6eff8ec1aa112af966c303f5e8c2fdf4850c61e2240edbe1b2db4e0ca267c4d8000070437978d00bb014641e13 install : $(TARGET)