From 770a7c73cfc7488a0b0add7beb35acb6279240e6 Mon Sep 17 00:00:00 2001 From: guojunding Date: Tue, 30 Jul 2024 16:10:32 +0800 Subject: [PATCH] doc: fix typo --- 0003-backport-fix-typo.patch | 25 +++++++++++++++++++++++++ flex.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0003-backport-fix-typo.patch diff --git a/0003-backport-fix-typo.patch b/0003-backport-fix-typo.patch new file mode 100644 index 0000000..036b7e6 --- /dev/null +++ b/0003-backport-fix-typo.patch @@ -0,0 +1,25 @@ +From 9921366cfeea2a51eb06c825b486c078ddca2177 Mon Sep 17 00:00:00 2001 +From: "winter.loo" +Date: Sun, 2 Jul 2023 19:57:54 +0800 +Subject: [PATCH] doc: fix typo + +--- + doc/flex.texi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/flex.texi b/doc/flex.texi +index bccab1e..12b6b0d 100644 +--- a/doc/flex.texi ++++ b/doc/flex.texi +@@ -4499,7 +4499,7 @@ when @code{%option bison-locations} (@samp{--bison-locations}) is specified: + @end example + + Support for yylval assumes that @code{YYSTYPE} is a valid type. Support for +-yylloc assumes that @code{YYSLYPE} is a valid type. Typically, these types are ++yylloc assumes that @code{YYLTYPE} is a valid type. Typically, these types are + generated by @code{bison}, and are included in section 1 of the @code{flex} + input. + +-- +2.9.3.windows.1 + diff --git a/flex.spec b/flex.spec index 82c1c07..804a223 100644 --- a/flex.spec +++ b/flex.spec @@ -1,6 +1,6 @@ Name: flex Version: 2.6.4 -Release: 5 +Release: 6 Summary: A fast lexical analyzer generator License: BSD URL: https://github.com/westes/flex @@ -17,6 +17,7 @@ Patch0007: scanner-temporarily-protect-against-ccl-overflow-ove.patch Patch0008: scanner-prevent-overflow-in-add_action.patch Patch0009: 0001-scanner-fix-default-of-yy_top_state.patch Patch0010: 0002-scanner-fix-default-of-yy_top_state.patch +Patch0011: 0003-backport-fix-typo.patch BuildRequires: gcc gcc-c++ gettext help2man m4 bison texinfo automake autoconf Requires: m4 @@ -105,6 +106,9 @@ fi %{_mandir}/man1/* %changelog +* Tue Jul 30 2024 guojunding - 2.6.4-6 +- fix typo + * Tue Jul 12 2022 panxiaohe - 2.6.4-5 - enable check test suite - delete duplicate package files: NEWS,README.md -- Gitee