[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[8406] parsetexi update
From: |
gavinsmith0123 |
Subject: |
[8406] parsetexi update |
Date: |
Thu, 25 Oct 2018 14:26:18 -0400 (EDT) |
Revision: 8406
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8406
Author: gavin
Date: 2018-10-25 14:26:18 -0400 (Thu, 25 Oct 2018)
Log Message:
-----------
parsetexi update
Modified Paths:
--------------
trunk/tp/Texinfo/XS/parsetexi/macro.c
Modified: trunk/tp/Texinfo/XS/parsetexi/macro.c
===================================================================
--- trunk/tp/Texinfo/XS/parsetexi/macro.c 2018-10-25 14:06:14 UTC (rev
8405)
+++ trunk/tp/Texinfo/XS/parsetexi/macro.c 2018-10-25 18:26:18 UTC (rev
8406)
@@ -59,6 +59,10 @@
new &= ~USER_COMMAND_BIT;
user_defined_command_data[new].flags |= CF_MACRO;
}
+ else
+ {
+ free (m->macro_name);
+ }
m->macro_name = strdup (name);
m->element = macro;
@@ -273,6 +277,7 @@
{
line_error ("@%s missing closing brace", command_name(cmd));
line = "\n";
+ free (arg.text);
goto funexit;
}
pline = line;
@@ -318,7 +323,7 @@
break;
}
- // 2021 check for too many args
+ // check for too many args
if (*sep == '}' || arg_number < args_total - 1)
{
/* Add the last argument read to the list. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [8406] parsetexi update,
gavinsmith0123 <=