[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7182] parsetexi update
From: |
gavinsmith0123 |
Subject: |
[7182] parsetexi update |
Date: |
Tue, 24 May 2016 20:21:10 +0000 (UTC) |
Revision: 7182
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7182
Author: gavin
Date: 2016-05-24 20:21:09 +0000 (Tue, 24 May 2016)
Log Message:
-----------
parsetexi update
Modified Paths:
--------------
trunk/tp/parsetexi/parser.c
Modified: trunk/tp/parsetexi/parser.c
===================================================================
--- trunk/tp/parsetexi/parser.c 2016-05-24 19:24:09 UTC (rev 7181)
+++ trunk/tp/parsetexi/parser.c 2016-05-24 20:21:09 UTC (rev 7182)
@@ -951,11 +951,22 @@
{
line_error ("unknown command `%s'", command); // 4877
line = line_after_command;
+ debug ("COMMAND (UNKNOWN) %s", command);
}
}
free (command);
if (!cmd)
- 0;//goto funexit;
+ {
+ ELEMENT *paragraph;
+ // 4226
+ abort_empty_line (¤t, 0);
+
+ // 4276
+ paragraph = begin_paragraph (current);
+ if (paragraph)
+ current = paragraph;
+ //goto funexit;
+ }
}
if (cmd && (command_data(cmd).flags & CF_ALIAS))
cmd = command_data(cmd).data;
@@ -1171,11 +1182,6 @@
}
else
{
- /* TODO: The Perl code has cases for the value being
- an array or hash - check when this can happen. */
- /* This happens when the values are set by the "gdt"
function
- in Report.pm. */
-
line++; /* past '}' */
input_push_text (strdup (line), 0);
input_push_text (strdup (value), 0);
@@ -1233,7 +1239,7 @@
if (outer_flags & CF_index_entry_command)
{
// 563 in_simple_text_commands
- if (outer_flags & (CF_brace | CF_nobrace))
+ if (cmd_flags & (CF_brace | CF_nobrace))
ok = 1;
if (cmd == CM_caption
|| cmd == CM_shortcaption)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7182] parsetexi update,
gavinsmith0123 <=