texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/maintain/regenerate_C_options_info.pl: remov


From: Patrice Dumas
Subject: branch master updated: * tp/maintain/regenerate_C_options_info.pl: remove a spurious ; output after generated function definitions.
Date: Mon, 17 Jun 2024 08:55:35 -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 5ff052bce1 * tp/maintain/regenerate_C_options_info.pl: remove a 
spurious ; output after generated function definitions.
5ff052bce1 is described below

commit 5ff052bce1248f2e75996f3b44d1780be6ef7488
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jun 17 14:55:25 2024 +0200

    * tp/maintain/regenerate_C_options_info.pl: remove a spurious ; output
    after generated function definitions.
---
 ChangeLog                                | 5 +++++
 tp/maintain/regenerate_C_options_info.pl | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e35c0503aa..19221bb427 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-17  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/maintain/regenerate_C_options_info.pl: remove a spurious ; output
+       after generated function definitions.
+
 2024-06-16  Patrice Dumas  <pertusus@free.fr>
 
        * system.h: remove strerror definition, the prototype looks wrong and
diff --git a/tp/maintain/regenerate_C_options_info.pl 
b/tp/maintain/regenerate_C_options_info.pl
index 99662d8d66..72a7786bb9 100755
--- a/tp/maintain/regenerate_C_options_info.pl
+++ b/tp/maintain/regenerate_C_options_info.pl
@@ -147,7 +147,7 @@ foreach my $category (sort(keys(%option_categories))) {
     print CODE "  initialize_option (&options->$option, GOT_$type);\n";
   }
 }
-print CODE "};\n\n";
+print CODE "}\n\n";
 
 print CODE "void\nfree_options (OPTIONS *options)\n{\n";
 foreach my $category (sort(keys(%option_categories))) {
@@ -157,7 +157,7 @@ foreach my $category (sort(keys(%option_categories))) {
     print CODE "  free_option (&options->$option);\n";
   }
 }
-print CODE "};\n\n";
+print CODE "}\n\n";
 
 print CODE "void\nclear_options (OPTIONS *options)\n{\n";
 print CODE "  options->BIT_user_function_number = 0;\n";
@@ -168,7 +168,7 @@ foreach my $category (sort(keys(%option_categories))) {
     print CODE "  clear_option (&options->$option);\n";
   }
 }
-print CODE "};\n\n";
+print CODE "}\n\n";
 
 # set configured based on the name
 print CODE 'void
@@ -219,7 +219,7 @@ print CODE "
     default:
       return 0;
     }
-};\n\n";
+}\n\n";
 
 # table of defaults for options corresponding to commands
 print CODE "COMMAND_OPTION_DEFAULT command_option_default_table[] = {\n";



reply via email to

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