[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7131] parsetexi update
From: |
Gavin D. Smith |
Subject: |
[7131] parsetexi update |
Date: |
Sun, 24 Apr 2016 13:42:25 +0000 |
Revision: 7131
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7131
Author: gavin
Date: 2016-04-24 13:42:24 +0000 (Sun, 24 Apr 2016)
Log Message:
-----------
parsetexi update
Modified Paths:
--------------
trunk/tp/parsetexi/api.c
trunk/tp/parsetexi/macro.c
Modified: trunk/tp/parsetexi/api.c
===================================================================
--- trunk/tp/parsetexi/api.c 2016-04-24 13:30:27 UTC (rev 7130)
+++ trunk/tp/parsetexi/api.c 2016-04-24 13:42:24 UTC (rev 7131)
@@ -234,6 +234,7 @@
|| e->type == ET_text_root // FIXME special case
|| e->cmd == CM_image // why image?
|| e->cmd == CM_anchor
+ || e->cmd == CM_macro
|| e->type == ET_menu_entry_name
|| e->type == ET_brace_command_arg
|| e->cmd == CM_TeX
Modified: trunk/tp/parsetexi/macro.c
===================================================================
--- trunk/tp/parsetexi/macro.c 2016-04-24 13:30:27 UTC (rev 7130)
+++ trunk/tp/parsetexi/macro.c 2016-04-24 13:42:24 UTC (rev 7131)
@@ -77,6 +77,10 @@
macro->cmd = cmd;
macro->line_nr = line_nr;
+ add_extra_string (macro, "arg_line", line);
+ /* FIXME: This extra value isn't used much, so is a candidate for
+ simplification. */
+
line += strspn (line, whitespace_chars);
name = read_command_name (&line);
if (!name)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7131] parsetexi update,
Gavin D. Smith <=