typo in optimization annotation
Signed-off-by: lizhuo <lizhuo@xfusion.com>
This commit is contained in:
parent
c512da61e9
commit
39d3dffc64
24
backport-typo-in-optimization-annotation.patch
Normal file
24
backport-typo-in-optimization-annotation.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From ed7f9760db1aa5a6e404441d759642d05cfb9a17 Mon Sep 17 00:00:00 2001
|
||||||
|
From: lizhuo <lizhuo@xfusion.com>
|
||||||
|
Date: Thu, 17 Apr 2025 17:33:28 +0800
|
||||||
|
Subject: [PATCH] typo-in-optimization-annotation
|
||||||
|
|
||||||
|
---
|
||||||
|
src/csexp.ml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/csexp.ml b/src/csexp.ml
|
||||||
|
index 78bfa2b..2b2270d 100644
|
||||||
|
--- a/src/csexp.ml
|
||||||
|
+++ b/src/csexp.ml
|
||||||
|
@@ -233,7 +233,7 @@ module Make (Sexp : Sexp) = struct
|
||||||
|
match Stack.add_token x stack with
|
||||||
|
| exception Parse_error msg -> Error (pos, msg)
|
||||||
|
| stack -> k s (pos + 1) len lexer stack)
|
||||||
|
- [@@inlined always]
|
||||||
|
+ [@@inline always]
|
||||||
|
|
||||||
|
let parse_string =
|
||||||
|
let rec loop s pos len lexer stack =
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
@ -6,13 +6,15 @@
|
|||||||
|
|
||||||
Name: ocaml-csexp
|
Name: ocaml-csexp
|
||||||
Version: 1.5.2
|
Version: 1.5.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Parsing and printing of S-expressions in canonical form
|
Summary: Parsing and printing of S-expressions in canonical form
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/ocaml-dune/csexp
|
URL: https://github.com/ocaml-dune/csexp
|
||||||
Source0: https://github.com/ocaml-dune/csexp/releases/download/%{version}/csexp-%{version}.tbz
|
Source0: https://github.com/ocaml-dune/csexp/releases/download/%{version}/csexp-%{version}.tbz
|
||||||
|
|
||||||
|
Patch0001: backport-typo-in-optimization-annotation.patch
|
||||||
|
|
||||||
BuildRequires: ocaml >= 4.03.0
|
BuildRequires: ocaml >= 4.03.0
|
||||||
%if %{with dune}
|
%if %{with dune}
|
||||||
BuildRequires: ocaml-dune >= 1.11
|
BuildRequires: ocaml-dune >= 1.11
|
||||||
@ -34,6 +36,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -N -n csexp-%{version}
|
%autosetup -N -n csexp-%{version}
|
||||||
|
%patch0001 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with dune}
|
%if %{with dune}
|
||||||
@ -135,6 +138,9 @@ EOF
|
|||||||
%{_libdir}/ocaml/csexp/*.mli
|
%{_libdir}/ocaml/csexp/*.mli
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 17 2025 lizhuo <lizhuo@xfusion.com> - 1.5.2-2
|
||||||
|
- typo in optimization annotation
|
||||||
|
|
||||||
* Mon Jul 17 2023 niuyaru <niuyaru@kylinos.cn> - 1.5.2-1
|
* Mon Jul 17 2023 niuyaru <niuyaru@kylinos.cn> - 1.5.2-1
|
||||||
- Update package to version 1.5.2
|
- Update package to version 1.5.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user