LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0356-Fix-typo-in-xmerl_scan-string-1.patch of Package erlang (Project home:Ledest:erlang:20)

From 6f94995aa58125a3652fbb2523de348a77ce2440 Mon Sep 17 00:00:00 2001
From: YeJun Su <goofan.su@gmail.com>
Date: Fri, 20 Jul 2018 12:26:27 +0800
Subject: [PATCH] Fix typo in xmerl_scan:string/1

---
 lib/xmerl/src/xmerl_scan.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/xmerl/src/xmerl_scan.erl b/lib/xmerl/src/xmerl_scan.erl
index a1f6ad4e2c..a7538180e6 100644
--- a/lib/xmerl/src/xmerl_scan.erl
+++ b/lib/xmerl/src/xmerl_scan.erl
@@ -279,7 +279,7 @@ int_file_decl(F, Options,_ExtCharset) ->
 
 %% @spec string(Text::list()) -> {xmlElement(),Rest}
 %%   Rest = list()
-%% @equiv string(Test, [])
+%% @equiv string(Text, [])
 string(Str) ->
     string(Str, []).
 
-- 
2.16.4