[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Parser.pm t/test_utils.pl t/...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Parser.pm t/test_utils.pl t/... |
Date: |
Mon, 01 Nov 2010 11:40:47 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 10/11/01 11:40:46
Modified files:
tp/Texinfo : Parser.pm
tp/t : test_utils.pl
tp/t/results/def: double_command.pl
tp/t/results/invalid_nestings: accents.pl bad_style_nesting.pl
bad_tab_nesting.pl center.pl
in_table.pl
on_block_command_line.pl
on_def_line.pl
on_index_entry_line.pl
on_itemize_line.pl
on_section_line.pl
style_not_closed_in_table_line.pl
style_not_closed_no_newline_root_commands.pl
tp/t/results/raw: raw_in_brace_command.pl
Log message:
Keep the information about invalid command nesting in the tree.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.137&r2=1.138
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/test_utils.pl?cvsroot=texinfo&r1=1.42&r2=1.43
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/def/double_command.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/accents.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/bad_style_nesting.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/bad_tab_nesting.pl?cvsroot=texinfo&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/center.pl?cvsroot=texinfo&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/in_table.pl?cvsroot=texinfo&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/on_block_command_line.pl?cvsroot=texinfo&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/on_def_line.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/on_index_entry_line.pl?cvsroot=texinfo&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/on_itemize_line.pl?cvsroot=texinfo&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/on_section_line.pl?cvsroot=texinfo&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/style_not_closed_in_table_line.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl?cvsroot=texinfo&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/raw/raw_in_brace_command.pl?cvsroot=texinfo&r1=1.5&r2=1.6
Patches:
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -b -r1.137 -r1.138
--- Texinfo/Parser.pm 1 Nov 2010 08:44:10 -0000 1.137
+++ Texinfo/Parser.pm 1 Nov 2010 11:40:45 -0000 1.138
@@ -2769,6 +2769,7 @@
$command), $line_nr);
}
+ my $invalid;
# error messages for forbidden constructs, like @node in @r,
# block command on line command, @xref in @anchor or node...
if ($current->{'parent'}) {
@@ -2778,6 +2779,7 @@
_line_warn($self, sprintf($self->__("address@hidden should not
appear in address@hidden"),
$command,
$current->{'parent'}->{'cmdname'}),
$line_nr);
+ $invalid = 1;
} elsif ((!$in_simple_text_commands{$command}
and
($self->{'simple_text_commands'}->{$current->{'parent'}->{'cmdname'}}
# following conditions arise because we distinguish
@@ -2795,6 +2797,7 @@
_line_warn($self, sprintf($self->__("address@hidden should not
appear in address@hidden"),
$command,
$current->{'parent'}->{'cmdname'}),
$line_nr);
+ $invalid = 1;
}
} elsif ($self->{'context_stack'}->[-1] eq 'def'
and !$in_simple_text_commands{$command}) {
@@ -2807,6 +2810,7 @@
_line_warn($self, sprintf($self->__("address@hidden should not
appear in address@hidden"),
$command,
$def_block->{'parent'}->{'parent'}->{'cmdname'}),
$line_nr);
+ $invalid = 1;
}
}
@@ -2877,6 +2881,8 @@
if ($arg_spec eq 'noarg') {
push @{$current->{'contents'}}, {'cmdname' => $command,
'parent' => $current};
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
# all the cases using the raw line
} elsif ($arg_spec eq 'skipline' or $arg_spec eq 'lineraw'
or $arg_spec eq 'special') {
@@ -2887,6 +2893,8 @@
}
push @{$current->{'contents'}}, {'cmdname' => $command,
'parent' => $current};
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
my $args = [];
if ($arg_spec eq 'lineraw') {
$args = [ $line ];
@@ -2925,6 +2933,8 @@
push @{$parent->{'contents'}},
{ 'cmdname' => $command, 'parent' => $parent,
'contents' => [] };
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'}
= 1
+ if ($invalid);
$current = $parent->{'contents'}->[-1];
} else {
$self->_line_error (sprintf($self->__("address@hidden not
meaningful inside address@hidden' block"), $command, $parent->{'cmdname'}),
$line_nr);
@@ -2936,6 +2946,8 @@
$current = $parent;
push @{$current->{'contents'}},
{ 'cmdname' => $command, 'parent' => $current };
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'}
= 1
+ if ($invalid);
$line_arg = 1;
} else {
$self->_line_error (sprintf($self->__("address@hidden not
meaningful inside address@hidden' block"), $command, $parent->{'cmdname'}),
$line_nr);
@@ -2958,6 +2970,8 @@
push @{$row->{'contents'}}, { 'cmdname' => $command,
'parent' => $row,
'contents' => [] };
+ $row->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'}
= 1
+ if ($invalid);
$current = $row->{'contents'}->[-1];
print STDERR "TAB\n" if ($self->{'debug'});
}
@@ -2970,6 +2984,8 @@
push @{$row->{'contents'}}, { 'cmdname' => $command,
'parent' => $row,
'contents' => [] };
+ $row->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} =
1
+ if ($invalid);
$current = $row->{'contents'}->[-1];
}
} else {
@@ -2985,6 +3001,8 @@
push @{$current->{'contents'}},
{ 'cmdname' => $command, 'parent' => $current,
'line_nr' => $line_nr };
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
if ($self->{'sections_level'} and $root_commands{$command}
and $command ne 'node' and $command ne 'part') {
$current->{'contents'}->[-1]->{'extra'}->{'sections_level'}
@@ -3039,6 +3057,8 @@
my $macro = _parse_macro_command_line ($self, $command, $line,
$current, $line_nr);
push @{$current->{'contents'}}, $macro;
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
$current = $current->{'contents'}->[-1];
last;
} elsif ($block_commands{$command} eq 'conditional') {
@@ -3096,6 +3116,8 @@
'parent' => $current,
'cmdname' => $command,
'contents' => [] };
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
$current = $current->{'contents'}->[-1];
push @{$current->{'contents'}}, {
'type' => 'def_line',
@@ -3103,10 +3125,14 @@
'extra' =>
{'def_command' => $command}
};
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
} else {
push @{$current->{'contents'}}, { 'cmdname' => $command,
'parent' => $current,
'contents' => [] };
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
}
$current = $current->{'contents'}->[-1];
if ($block_arg_commands{$command}) {
@@ -3155,6 +3181,8 @@
push @{$current->{'contents'}}, { 'cmdname' => $command,
'parent' => $current,
'contents' => [] };
+ $current->{'contents'}->[-1]->{'extra'}->{'invalid_nesting'} = 1
+ if ($invalid);
$current = $current->{'contents'}->[-1];
if ($command eq 'click') {
$current->{'extra'}->{'clickstyle'} = $self->{'clickstyle'};
Index: t/test_utils.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/test_utils.pl,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- t/test_utils.pl 1 Nov 2010 09:09:20 -0000 1.42
+++ t/test_utils.pl 1 Nov 2010 11:40:45 -0000 1.43
@@ -103,7 +103,7 @@
}
my @contents_keys = ('contents', 'args', 'parent', 'line_nr', 'node_content',
- 'nodes_manuals', 'misc_content');
+ 'nodes_manuals', 'misc_content', 'invalid_nesting');
my @menus_keys = ('menu_next', 'menu_up', 'menu_prev', 'menu_up_hash');
my @sections_keys = ('section_next', 'section_prev', 'section_up',
'section_childs', 'associated_node');
Index: t/results/def/double_command.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/def/double_command.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/def/double_command.pl 1 Nov 2010 09:01:04 -0000 1.10
+++ t/results/def/double_command.pl 1 Nov 2010 11:40:45 -0000 1.11
@@ -419,12 +419,16 @@
'index_at_command' => 'defvr',
'index_name' => 'vr',
'index_prefix' => 'v'
- }
+ },
+ 'invalid_nesting' => 1
},
'parent' => {},
'type' => 'def_line'
}
],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
}
],
Index: t/results/invalid_nestings/accents.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/invalid_nestings/accents.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/invalid_nestings/accents.pl 1 Nov 2010 09:01:06 -0000
1.10
+++ t/results/invalid_nestings/accents.pl 1 Nov 2010 11:40:45 -0000
1.11
@@ -98,6 +98,9 @@
],
'cmdname' => 'code',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
}
],
@@ -133,6 +136,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
Index: t/results/invalid_nestings/bad_style_nesting.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/bad_style_nesting.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/invalid_nestings/bad_style_nesting.pl 1 Nov 2010 09:01:06
-0000 1.7
+++ t/results/invalid_nestings/bad_style_nesting.pl 1 Nov 2010 11:40:46
-0000 1.8
@@ -49,6 +49,9 @@
'type' => 'paragraph'
}
],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
Index: t/results/invalid_nestings/bad_tab_nesting.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/bad_tab_nesting.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/results/invalid_nestings/bad_tab_nesting.pl 1 Nov 2010 09:01:06
-0000 1.8
+++ t/results/invalid_nestings/bad_tab_nesting.pl 1 Nov 2010 11:40:46
-0000 1.9
@@ -110,6 +110,9 @@
'type' => 'paragraph'
}
],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
}
],
Index: t/results/invalid_nestings/center.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/invalid_nestings/center.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- t/results/invalid_nestings/center.pl 1 Nov 2010 09:01:06 -0000
1.17
+++ t/results/invalid_nestings/center.pl 1 Nov 2010 11:40:46 -0000
1.18
@@ -179,6 +179,7 @@
'index_name' => 'cp',
'index_prefix' => 'c'
},
+ 'invalid_nesting' => 1,
'misc_content' => []
},
'line_nr' => {
@@ -229,6 +230,9 @@
'type' => 'empty_line_after_command'
}
],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
}
],
@@ -316,6 +320,7 @@
],
'cmdname' => 'center',
'extra' => {
+ 'invalid_nesting' => 1,
'misc_content' => [
{}
]
@@ -454,6 +459,7 @@
],
'cmdname' => 'center',
'extra' => {
+ 'invalid_nesting' => 1,
'misc_content' => [
{}
]
Index: t/results/invalid_nestings/in_table.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/invalid_nestings/in_table.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- t/results/invalid_nestings/in_table.pl 1 Nov 2010 09:01:06 -0000
1.15
+++ t/results/invalid_nestings/in_table.pl 1 Nov 2010 11:40:46 -0000
1.16
@@ -15,6 +15,9 @@
},
{
'cmdname' => 'xref',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {},
'type' => 'command_as_argument'
},
@@ -94,6 +97,9 @@
},
{
'cmdname' => 'indent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {
'file_name' => '',
'line_nr' => 5,
@@ -121,6 +127,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -143,6 +152,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -172,6 +182,9 @@
],
'cmdname' => 'footnote',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -180,6 +193,9 @@
},
{
'cmdname' => 'exdent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {},
'parent' => {}
},
Index: t/results/invalid_nestings/on_block_command_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/on_block_command_line.pl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- t/results/invalid_nestings/on_block_command_line.pl 1 Nov 2010 09:01:06
-0000 1.14
+++ t/results/invalid_nestings/on_block_command_line.pl 1 Nov 2010 11:40:46
-0000 1.15
@@ -66,6 +66,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -160,6 +163,9 @@
},
{
'cmdname' => 'indent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {
'file_name' => '',
'line_nr' => 5,
@@ -187,6 +193,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -209,6 +218,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -238,6 +248,9 @@
],
'cmdname' => 'footnote',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -246,6 +259,9 @@
},
{
'cmdname' => 'exdent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {},
'parent' => {}
},
Index: t/results/invalid_nestings/on_def_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/on_def_line.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/invalid_nestings/on_def_line.pl 1 Nov 2010 09:01:06 -0000
1.3
+++ t/results/invalid_nestings/on_def_line.pl 1 Nov 2010 11:40:46 -0000
1.4
@@ -34,6 +34,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -69,6 +70,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -96,6 +100,9 @@
],
'cmdname' => 'footnote',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -104,6 +111,9 @@
},
{
'cmdname' => 'exdent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {},
'parent' => {}
},
@@ -215,6 +225,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -250,6 +261,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -277,6 +291,9 @@
],
'cmdname' => 'footnote',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -285,6 +302,9 @@
},
{
'cmdname' => 'exdent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {},
'parent' => {}
},
Index: t/results/invalid_nestings/on_index_entry_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/on_index_entry_line.pl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- t/results/invalid_nestings/on_index_entry_line.pl 1 Nov 2010 09:01:06
-0000 1.14
+++ t/results/invalid_nestings/on_index_entry_line.pl 1 Nov 2010 11:40:46
-0000 1.15
@@ -15,6 +15,9 @@
},
{
'cmdname' => 'indent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {
'file_name' => '',
'line_nr' => 1,
@@ -42,6 +45,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -64,6 +70,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -93,6 +100,9 @@
],
'cmdname' => 'footnote',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -101,6 +111,9 @@
},
{
'cmdname' => 'exdent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {},
'parent' => {}
},
Index: t/results/invalid_nestings/on_itemize_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/on_itemize_line.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- t/results/invalid_nestings/on_itemize_line.pl 1 Nov 2010 09:01:06
-0000 1.13
+++ t/results/invalid_nestings/on_itemize_line.pl 1 Nov 2010 11:40:46
-0000 1.14
@@ -15,6 +15,9 @@
},
{
'cmdname' => 'indent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {
'file_name' => '',
'line_nr' => 1,
@@ -42,6 +45,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -64,6 +70,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -93,6 +100,9 @@
],
'cmdname' => 'footnote',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -101,6 +111,9 @@
},
{
'cmdname' => 'exdent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {},
'parent' => {}
},
Index: t/results/invalid_nestings/on_section_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/on_section_line.pl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- t/results/invalid_nestings/on_section_line.pl 1 Nov 2010 09:01:06
-0000 1.16
+++ t/results/invalid_nestings/on_section_line.pl 1 Nov 2010 11:40:46
-0000 1.17
@@ -19,6 +19,9 @@
},
{
'cmdname' => 'noindent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {
'file_name' => '',
'line_nr' => 1,
@@ -50,6 +53,9 @@
],
'cmdname' => 'titlefont',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -72,6 +78,7 @@
'cmdname' => 'anchor',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -101,6 +108,9 @@
],
'cmdname' => 'footnote',
'contents' => [],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
@@ -109,6 +119,9 @@
},
{
'cmdname' => 'exdent',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'line_nr' => {},
'parent' => {}
},
Index: t/results/invalid_nestings/style_not_closed_in_table_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/style_not_closed_in_table_line.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/invalid_nestings/style_not_closed_in_table_line.pl 1 Nov
2010 09:01:06 -0000 1.9
+++ t/results/invalid_nestings/style_not_closed_in_table_line.pl 1 Nov
2010 11:40:46 -0000 1.10
@@ -126,6 +126,7 @@
],
'cmdname' => 'item',
'extra' => {
+ 'invalid_nesting' => 1,
'misc_content' => [
{}
]
Index: t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl
1 Nov 2010 09:01:06 -0000 1.22
+++ t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl
1 Nov 2010 11:40:46 -0000 1.23
@@ -185,6 +185,7 @@
'cmdname' => 'node',
'contents' => [],
'extra' => {
+ 'invalid_nesting' => 1,
'node_content' => [
{}
],
@@ -276,6 +277,9 @@
},
{
'cmdname' => 'bye',
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
}
],
Index: t/results/raw/raw_in_brace_command.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/raw/raw_in_brace_command.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/raw/raw_in_brace_command.pl 1 Nov 2010 09:01:10 -0000
1.5
+++ t/results/raw/raw_in_brace_command.pl 1 Nov 2010 11:40:46 -0000
1.6
@@ -103,6 +103,9 @@
'type' => 'raw'
}
],
+ 'extra' => {
+ 'invalid_nesting' => 1
+ },
'parent' => {}
},
{
- texinfo/tp Texinfo/Parser.pm t/test_utils.pl t/...,
Patrice Dumas <=