From 92430fe2659f743947e9142dbe20aca9e5736953 Mon Sep 17 00:00:00 2001 From: guojunding Date: Fri, 9 Aug 2024 16:52:16 +0800 Subject: [PATCH] doc: fix typo (cherry picked from commit ec289e6e8ce2b776e9740019dd4c6440f8d327fa) --- 0004-backport-fix-typo.patch | 25 +++++++++++++++++++++++++ flex.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0004-backport-fix-typo.patch diff --git a/0004-backport-fix-typo.patch b/0004-backport-fix-typo.patch new file mode 100644 index 0000000..036b7e6 --- /dev/null +++ b/0004-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 a90d708..6cd8210 100644 --- a/flex.spec +++ b/flex.spec @@ -1,6 +1,6 @@ Name: flex Version: 2.6.4 -Release: 6 +Release: 7 Summary: A fast lexical analyzer generator License: BSD URL: https://github.com/westes/flex @@ -18,6 +18,7 @@ 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-pattern-documentation-for-case-insensitive-ranges.patch +Patch0012: 0004-backport-fix-typo.patch BuildRequires: gcc gcc-c++ gettext help2man m4 bison texinfo automake autoconf Requires: m4 @@ -106,6 +107,9 @@ fi %{_mandir}/man1/* %changelog +* Fri Aug 9 2024 guojunding - 2.6.4-7 +- Fix typo + * Tue Jul 30 2024 guojunding - 2.6.4-6 - Fix pattern documentation for case-insensitive ranges -- Gitee