[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7072] parsetexi keep brace commands line information
From: |
Gavin D. Smith |
Subject: |
[7072] parsetexi keep brace commands line information |
Date: |
Mon, 28 Mar 2016 11:17:47 +0000 |
Revision: 7072
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7072
Author: gavin
Date: 2016-03-28 11:17:47 +0000 (Mon, 28 Mar 2016)
Log Message:
-----------
parsetexi keep brace commands line information
Modified Paths:
--------------
trunk/tp/parsetexi/handle_commands.c
Modified: trunk/tp/parsetexi/handle_commands.c
===================================================================
--- trunk/tp/parsetexi/handle_commands.c 2016-03-28 11:16:19 UTC (rev
7071)
+++ trunk/tp/parsetexi/handle_commands.c 2016-03-28 11:17:47 UTC (rev
7072)
@@ -723,19 +723,10 @@
// 4841
// 258 keep_line_nr_brace_commands
// also 4989 sets line_nr.
- /* The line number information is only ever used for accent commands
+ /* The line number information is only ever used for brace commands
if the command is given with braces, but it's easier just to always
store the information. */
- if (e->cmd == CM_titlefont || e->cmd == CM_anchor
- || (command_data(e->cmd).flags & CF_accent)
- || (command_data(e->cmd).flags & CF_brace
- && (command_data(e->cmd).data > 1
- || command_data(e->cmd).data == BRACE_style
- || command_data(e->cmd).data == BRACE_other
- || command_data(e->cmd).data == BRACE_context)))
- {
- e->line_nr = line_nr;
- }
+ e->line_nr = line_nr;
add_to_element_contents (current, e);
current = e;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7072] parsetexi keep brace commands line information,
Gavin D. Smith <=