texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/parsetexi/parser.c (process_remai


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line): remove a check on cmd != 0 and cmd set as cmd set implies != 0.
Date: Tue, 30 Aug 2022 06:49:33 -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 1e0da442e2 * tp/Texinfo/XS/parsetexi/parser.c 
(process_remaining_on_line): remove a check on cmd != 0 and cmd set as cmd set 
implies != 0.
1e0da442e2 is described below

commit 1e0da442e215fb229d4d26a56b0f6fe2b204aaf7
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Aug 30 12:49:19 2022 +0200

    * tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line):
    remove a check on cmd != 0 and cmd set as cmd set implies != 0.
---
 ChangeLog                        | 7 ++++++-
 tp/TODO                          | 2 --
 tp/Texinfo/XS/parsetexi/parser.c | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 02ef47e8cc..25c9cab338 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+2022-08-30  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line):
+       remove a check on cmd != 0 and cmd set as cmd set implies != 0.
+
 2022-08-29  Gavin Smith  <gavinsmith0123@gmail.com>
 
-       *  tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line):
+       * tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line):
        Add a comment.
 
 2022-08-29  Patrice Dumas  <pertusus@free.fr>
diff --git a/tp/TODO b/tp/TODO
index e45239526b..4a85dbb023 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -15,8 +15,6 @@ Bugs
 
 form feeds results
 
-@' @unknown a
-
 HTML API
 ========
 
diff --git a/tp/Texinfo/XS/parsetexi/parser.c b/tp/Texinfo/XS/parsetexi/parser.c
index 694ca320a1..f7a742702a 100644
--- a/tp/Texinfo/XS/parsetexi/parser.c
+++ b/tp/Texinfo/XS/parsetexi/parser.c
@@ -1405,7 +1405,7 @@ superfluous_arg:
      considered again together with other commands below for all the other 
cases
      which may need a well formed tree, which is not needed nor available here,
      and early value expansion may be needed to provide with an argument. */
-  else if (cmd && cmd == CM_value)
+  else if (cmd == CM_value)
     {
       char *expanded_line = line_after_command;
       if (conf.ignore_space_after_braced_command_name)



reply via email to

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