flex/0004-backport-fix-typo.patch
guojunding 730cd88c61 doc: fix typo
(cherry picked from commit ec289e6e8ce2b776e9740019dd4c6440f8d327fa)
2024-08-22 15:05:00 +08:00

26 lines
827 B
Diff

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