[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/teximakehtml.c (main): really han
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/teximakehtml.c (main): really handle option setting a flag. Set customization variable for debug option. |
Date: |
Mon, 23 Dec 2024 19:00:55 -0500 |
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 0bb33bdafd * tp/Texinfo/XS/teximakehtml.c (main): really handle option
setting a flag. Set customization variable for debug option.
0bb33bdafd is described below
commit 0bb33bdafda2743f043372b0ec0d6d804dbcbbeb
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Dec 22 12:52:53 2024 +0100
* tp/Texinfo/XS/teximakehtml.c (main): really handle option setting a
flag. Set customization variable for debug option.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/teximakehtml.c | 10 ++++++++++
2 files changed, 15 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index b712d382d7..9def1f7956 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-12-22 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/teximakehtml.c (main): really handle option setting a
+ flag. Set customization variable for debug option.
+
2024-12-21 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Common.pm (%valid_tree_transformations): remove
diff --git a/tp/Texinfo/XS/teximakehtml.c b/tp/Texinfo/XS/teximakehtml.c
index 4f017fdeaf..33e20c806a 100644
--- a/tp/Texinfo/XS/teximakehtml.c
+++ b/tp/Texinfo/XS/teximakehtml.c
@@ -980,6 +980,9 @@ main (int argc, char *argv[])
switch (option_character)
{
+ case 0:
+ /* option sets a flag, nothing to do */
+ break;
case 'c':
get_cmdline_customization_option (&cmdline_options, optarg);
break;
@@ -988,6 +991,11 @@ main (int argc, char *argv[])
cmdline_options.options->documentlanguage.number,
optarg);
break;
+ case DEBUG_OPT:
+ set_from_cmdline(&cmdline_options,
+ cmdline_options.options->DEBUG.number,
+ optarg);
+ break;
case 'e':
set_from_cmdline(&cmdline_options,
cmdline_options.options->ERROR_LIMIT.number,
@@ -1329,6 +1337,8 @@ main (int argc, char *argv[])
break;
*/
default:
+ fprintf (stderr, "BUG: getopt_long unexpected option_character:
%d\n",
+ option_character);
exit (EXIT_FAILURE);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/teximakehtml.c (main): really handle option setting a flag. Set customization variable for debug option.,
Patrice Dumas <=