doc: fix typo

(cherry picked from commit ec289e6e8ce2b776e9740019dd4c6440f8d327fa)
This commit is contained in:
guojunding 2024-08-09 16:52:16 +08:00 committed by openeuler-sync-bot
parent bb0c7d57f8
commit 730cd88c61
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 9921366cfeea2a51eb06c825b486c078ddca2177 Mon Sep 17 00:00:00 2001
From: "winter.loo" <adjkldd@126.com>
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

View File

@ -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 <guojunding@kylinos.cn> - 2.6.4-7
- Fix typo
* Tue Jul 30 2024 guojunding <guojunding@kylinos.cn> - 2.6.4-6
- Fix pattern documentation for case-insensitive ranges