texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * doc/texinfo.texi (Typed Functions): add = in Pe


From: Patrice Dumas
Subject: branch master updated: * doc/texinfo.texi (Typed Functions): add = in Perl Sub example. Gavin idea.
Date: Sun, 14 Aug 2022 11:34:55 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 286d73d74e * doc/texinfo.texi (Typed Functions): add = in Perl Sub 
example. Gavin idea.
286d73d74e is described below

commit 286d73d74eba0eb0292b60f3ad7b9d3bb6e85444
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Aug 14 17:34:45 2022 +0200

    * doc/texinfo.texi (Typed Functions): add = in Perl Sub example.
    Gavin idea.
---
 ChangeLog        | 5 +++++
 doc/texinfo.texi | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fed345eb87..c3d36b5954 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-14  Patrice Dumas  <pertusus@free.fr>
+
+       * doc/texinfo.texi (Typed Functions): add = in Perl Sub example.
+       Gavin idea.
+
 2022-08-14  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/LaTeX.pm (_convert): add \leavevmode{}
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 5e5e044292..2b0606029c 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -11801,7 +11801,7 @@ variables. For example, in Perl, returned scalars may 
be given the
 @var{$result} and @var{$status} name in the following manner:
 
 @example
-@@deftypefn @{Sub@} @{(@@var@{$result@}, @@var@{$status@})@} @@
+@@deftypefn @{Sub@} @{(@@var@{$result@}, @@var@{$status@} =)@} @@
                      process (@@var@{$input@})
 @dots{} Set @@var@{$status@} to 0 in case of failure @dots{}
 @@end deftypefn
@@ -11809,7 +11809,7 @@ variables. For example, in Perl, returned scalars may 
be given the
 
 to get output like
 
-@deftypefn {Sub} {(@var{$result}, @var{$status})} process (@var{$input})
+@deftypefn {Sub} {(@var{$result}, @var{$status}) =} process (@var{$input})
 @dots{} Set @var{$status} to 0 in case of failure @dots{}
 @end deftypefn
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]