[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/separator.c (handle_ope
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/separator.c (handle_open_brace): Move declaration out of switch block to stop compilation error. |
Date: |
Sun, 12 Mar 2023 07:56:27 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new d371716806 * tp/Texinfo/XS/parsetexi/separator.c (handle_open_brace):
Move declaration out of switch block to stop compilation error.
d371716806 is described below
commit d37171680634f8c9ac2162944899a74333dc6a17
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Mar 12 11:55:32 2023 +0000
* tp/Texinfo/XS/parsetexi/separator.c (handle_open_brace):
Move declaration out of switch block to stop compilation error.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/parsetexi/close.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index baf297d6b8..b86cae6e16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-12 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/parsetexi/separator.c (handle_open_brace):
+ Move declaration out of switch block to stop compilation error.
+
2023-03-12 Patrice Dumas <pertusus@free.fr>
* tp/t/30sectioning.t: modify node name for two_nodes_at_the_end to be
diff --git a/tp/Texinfo/XS/parsetexi/close.c b/tp/Texinfo/XS/parsetexi/close.c
index 683566feb5..035d8ef41e 100644
--- a/tp/Texinfo/XS/parsetexi/close.c
+++ b/tp/Texinfo/XS/parsetexi/close.c
@@ -422,10 +422,11 @@ close_current (ELEMENT *current,
else if (current->type != ET_NONE)
{
enum context c;
+ ELEMENT *close_brace;
switch (current->type)
{
case ET_balanced_braces:
- ELEMENT *close_brace = new_element (ET_NONE);
+ close_brace = new_element (ET_NONE);
command_error (current, "misplaced {");
/* We prefer adding an element to merging because we may
be at the end of the document after an empty line we
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/separator.c (handle_open_brace): Move declaration out of switch block to stop compilation error.,
Gavin D. Smith <=