texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp MANIFEST Texinfo/Parser.pm t/03cover...


From: Patrice Dumas
Subject: texinfo/tp MANIFEST Texinfo/Parser.pm t/03cover...
Date: Fri, 13 Jan 2012 18:58:14 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/01/13 18:58:14

Modified files:
        tp             : MANIFEST 
        tp/Texinfo     : Parser.pm 
        tp/t           : 03coverage_braces.t 
        tp/t/results/converters_tests: ref_error_formatting.pl 
        tp/t/results/coverage_braces: empty_ref.pl 
Added files:
        tp/t/results/coverage_braces: ref_empty_node.pl 

Log message:
        No warning if there is no node but an external manual argument 
        to @*ref.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/MANIFEST?cvsroot=texinfo&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.351&r2=1.352
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/03coverage_braces.t?cvsroot=texinfo&r1=1.47&r2=1.48
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/converters_tests/ref_error_formatting.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage_braces/empty_ref.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage_braces/ref_empty_node.pl?cvsroot=texinfo&rev=1.1

Patches:
Index: MANIFEST
===================================================================
RCS file: /sources/texinfo/texinfo/tp/MANIFEST,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- MANIFEST    10 Jan 2012 22:51:45 -0000      1.14
+++ MANIFEST    13 Jan 2012 18:58:13 -0000      1.15
@@ -170,6 +170,11 @@
 t/results/converters_tests/accent_with_text.pl
 t/results/converters_tests/complex_nestings.pl
 t/results/converters_tests/documentencoding_utf8_and_insertions.pl
+t/results/converters_tests/footnote_no_number.pl
+t/results/converters_tests/footnote_no_number_separate.pl
+t/results/converters_tests/image_extension.pl
+t/results/converters_tests/image_formatting.pl
+t/results/converters_tests/image_with_spaces.pl
 t/results/converters_tests/inline_expand_tex.pl
 t/results/converters_tests/inline.pl
 t/results/converters_tests/no_documentencoding_and_insertions.pl
@@ -242,6 +247,7 @@
 t/results/coverage_braces/unmatched_brace.pl
 t/results/coverage_braces/uref_in_ref.pl
 t/results/coverage_braces/uref_url.pl
+t/results/coverage_braces/verb_in_xref.pl
 t/results/coverage/cartouche_in_example.pl
 t/results/coverage/cartouche_in_quotation.pl
 t/results/coverage/cartouche.pl
@@ -324,6 +330,7 @@
 t/results/float/empty_listoffloats_with_floats.pl
 t/results/float/float_copying.pl
 t/results/float/float_with_at_commands.pl
+t/results/float/footnote_in_caption_and_error.pl
 t/results/float/footnote_in_caption.pl
 t/results/float/listoffloats_with_commands.pl
 t/results/float/numbering_captions_listoffloats.pl
@@ -344,6 +351,7 @@
 t/results/html_tests/simple_menu.pl
 t/results/html_tests/test_xrefautomaticsectiontitle.pl
 t/results/html_tests/tex_expanded_in_copying.pl
+t/results/html_tests/titles.pl
 t/results/html_tests/verbatim_in_multitable_in_example.pl
 t/results/html_tests/xml_protected_in_verb.pl
 t/results/include/double_include.pl
@@ -368,6 +376,7 @@
 t/results/indices/empty_cindex_entry.pl
 t/results/indices/empty_index_entry.pl
 t/results/indices/empty_string_index_entry.pl
+t/results/indices/ftable_vtable.pl
 t/results/indices/image_lines_count.pl
 t/results/indices/image_text_lines_count.pl
 t/results/indices/index_entries_locations.pl
@@ -391,6 +400,7 @@
 t/results/info_tests/anchor_and_spaces.pl
 t/results/info_tests/anchor_in_command.pl
 t/results/info_tests/before_node_and_section.pl
+t/results/info_tests/center_flush.pl
 t/results/info_tests/colon_in_index_entry.pl
 t/results/info_tests/contents_setcontentsaftertitlepage_before_node.pl
 t/results/info_tests/def_in_copying.pl
@@ -398,17 +408,16 @@
 t/results/info_tests/encoding_us_ascii.pl
 t/results/info_tests/error_in_footnote.pl
 t/results/info_tests/file_only_png.pl
-t/results/info_tests/footnote_no_number.pl
-t/results/info_tests/footnote_no_number_separate.pl
+t/results/info_tests/float_long_captions.pl
 t/results/info_tests/image_and_punctuation.pl
 t/results/info_tests/image_and_spaces_formatting.pl
 t/results/info_tests/image_extension.pl
 t/results/info_tests/image_file_search.pl
-t/results/info_tests/image_formatting.pl
 t/results/info_tests/image_in_paragraph.pl
 t/results/info_tests/image_not_found.pl
 t/results/info_tests/image_quotes.pl
 t/results/info_tests/image_text_encoded.pl
+t/results/info_tests/index_entry_at_end_node.pl
 t/results/info_tests/known_encoding.pl
 t/results/info_tests/multitable_anchor_and_index_entry.pl
 t/results/info_tests/nested_footnotes_separate.pl
@@ -425,8 +434,10 @@
 t/results/info_tests/pxref_test.pl
 t/results/info_tests/ref_tests.pl
 t/results/info_tests/space_at_menu_end.pl
+t/results/info_tests/space_in_menu.pl
 t/results/info_tests/space_in_setfilename.pl
 t/results/info_tests/split_no_copying.pl
+t/results/info_tests/test_index.pl
 t/results/info_tests/text_before_node.pl
 t/results/info_tests/top_node_normalization.pl
 t/results/info_tests/unknown_encoding.pl
@@ -443,8 +454,10 @@
 t/results/invalid_nestings/example_in_style_command.pl
 t/results/invalid_nestings/float_in_style_command.pl
 t/results/invalid_nestings/flushright_in_style_command.pl
+t/results/invalid_nestings/footnote_in_ref.pl
 t/results/invalid_nestings/formats_not_closed_in_example.pl
 t/results/invalid_nestings/ignored_text.pl
+t/results/invalid_nestings/ignore_in_xref.pl
 t/results/invalid_nestings/in_errormsg.pl
 t/results/invalid_nestings/in_table.pl
 t/results/invalid_nestings/item_in_ref.pl
@@ -460,10 +473,16 @@
 t/results/invalid_nestings/on_index_entry_line.pl
 t/results/invalid_nestings/on_itemize_line.pl
 t/results/invalid_nestings/on_section_line.pl
+t/results/invalid_nestings/quotation_in_ref.pl
 t/results/invalid_nestings/quotation_in_style_command.pl
 t/results/invalid_nestings/recursive_copying.pl
 t/results/invalid_nestings/ref_in_anchor.pl
 t/results/invalid_nestings/ref_in_ref.pl
+t/results/invalid_nestings/section_in_copying.pl
+t/results/invalid_nestings/section_in_flushright.pl
+t/results/invalid_nestings/section_in_footnote.pl
+t/results/invalid_nestings/section_in_math.pl
+t/results/invalid_nestings/section_in_nested_block_commands.pl
 t/results/invalid_nestings/section_in_table.pl
 t/results/invalid_nestings/style_not_closed_before_first_node.pl
 t/results/invalid_nestings/style_not_closed_in_block_command.pl
@@ -478,6 +497,7 @@
 t/results/invalid_nestings/unclosed_verb_end_of_line_on_misc_line.pl
 t/results/invalid_nestings/unclosed_verb_on_misc_line.pl
 t/results/invalid_nestings/unclosed_verb_on_section_line.pl
+t/results/invalid_nestings/verbatim_in_ref.pl
 t/results/itemize/accent_argument.pl
 t/results/itemize/asis_as_itemize_argument.pl
 t/results/itemize/bad_enumerate_arguments.pl
@@ -624,6 +644,7 @@
 t/results/misc_commands/no_empty_line_between_headings.pl
 t/results/misc_commands/noindent_after_smallexample.pl
 t/results/misc_commands/noindent_indent.pl
+t/results/misc_commands/noindent_in_paragraph.pl
 t/results/misc_commands/ref_in_center.pl
 t/results/misc_commands/setfilename.pl
 t/results/misc_commands/simple.pl
@@ -642,6 +663,7 @@
 t/results/multitable/multitable_not_closed.pl
 t/results/multitable/multitable_one_column_too_much_cells.pl
 t/results/multitable/multitable_two_columns_too_much_cells.pl
+t/results/multitable/multitable_with_empty_item_tab.pl
 t/results/multitable/paragraph_in_cells.pl
 t/results/multitable/prototype_brace_no_brace_comment.pl
 t/results/multitable/prototype_brace_no_brace.pl
@@ -692,6 +714,7 @@
 t/results/plaintext_tests/nested_multitable.pl
 t/results/plaintext_tests/no_punctuation_commands_frenchspacing.pl
 t/results/plaintext_tests/no_punctuation_commands.pl
+t/results/plaintext_tests/paragraphindent.pl
 t/results/plaintext_tests/protected_space_end_line.pl
 t/results/plaintext_tests/protect_spaces_on_line.pl
 t/results/plaintext_tests/punctuation_abbr_acronym.pl
@@ -714,6 +737,7 @@
 t/results/plaintext_tests/star_at_command_formatting.pl
 t/results/plaintext_tests/transparent_text.pl
 t/results/preformatted/caption_in_example.pl
+t/results/preformatted/comment_example_and_blank_lines.pl
 t/results/preformatted/comments_in_example.pl
 t/results/preformatted/def_in_example.pl
 t/results/preformatted/empty_line.pl
@@ -754,10 +778,12 @@
 t/results/regions/anchor_in_copying_in_footnote.pl
 t/results/regions/anchor_in_copying.pl
 t/results/regions/anchor_in_titlepage.pl
+t/results/regions/anchor_in_titlepage_titlepage.pl
 t/results/regions/copying_not_closed.pl
 t/results/regions/double_copying.pl
 t/results/regions/double_titlepage_not_closed.pl
 t/results/regions/format_in_titlepage.pl
+t/results/regions/format_in_titlepage_titlepage.pl
 t/results/regions/ref_in_copying.pl
 t/results/regions/today_in_copying.pl
 t/results/sectioning/a_comma_after_node.pl
@@ -811,6 +837,7 @@
 t/results/sectioning/nodes_after_top_before_section_sections.pl
 t/results/sectioning/nodes_before_top.pl
 t/results/sectioning/nodes_no_node_top_explicit_directions.pl
+t/results/sectioning/node_too_much_args.pl
 t/results/sectioning/node_up_direction_for_top_with_manual.pl
 t/results/sectioning/node_up_external_node.pl
 t/results/sectioning/no_element.pl
@@ -914,6 +941,7 @@
 t/results/xml_tests/node_no_section.pl
 t/results/xml_tests/raw.pl
 t/results/xtable/accent_on_table_line.pl
+t/results/xtable/block_commands_in_table.pl
 t/results/xtable/comment_and_itemx_before_item.pl
 t/results/xtable/definfoenclose_on_table_line.pl
 t/results/xtable/empty_item_itemx.pl

Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -b -r1.351 -r1.352
--- Texinfo/Parser.pm   7 Jan 2012 12:12:04 -0000       1.351
+++ Texinfo/Parser.pm   13 Jan 2012 18:58:13 -0000      1.352
@@ -4520,12 +4520,17 @@
               my $ref = $current->{'parent'};
               if (@{$ref->{'args'}}) {
                 my @args = @{$ref->{'extra'}->{'brace_command_contents'}};
-                if (!defined($args[0])) {
-                  $self->line_warn (sprintf($self->__("Command address@hidden 
missing a node argument"),
+                if (($closed_command eq 'inforef' 
+                     and !defined($args[0]) and !defined($args[2]))
+                    or ($closed_command ne 'inforef'
+                     and !defined($args[0]) and !defined($args[3])
+                     and !defined($args[4]))) {
+                  $self->line_warn (sprintf($self->__("Command address@hidden 
missing a node or external manual argument"),
                                         $closed_command), $line_nr);
                 } else {
                   my $parsed_ref_node = 
_parse_node_manual($ref->{'args'}->[0]);
-                  $ref->{'extra'}->{'node_argument'} = $parsed_ref_node;
+                  $ref->{'extra'}->{'node_argument'} = $parsed_ref_node
+                     if (defined($parsed_ref_node));
                   if ($closed_command ne 'inforef' 
                            and !defined($args[3]) and !defined($args[4])
                            and !$parsed_ref_node->{'manual_content'}) {

Index: t/03coverage_braces.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/03coverage_braces.t,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- t/03coverage_braces.t       11 Jan 2012 23:27:40 -0000      1.47
+++ t/03coverage_braces.t       13 Jan 2012 18:58:13 -0000      1.48
@@ -311,6 +311,11 @@
 '
 @ref{} @xref{,,something}. @inforef{ }
  @inforef{ , arg}.
+'],
+['ref_empty_node',
+'
address@hidden,,,manual} @ref{,,, , Manual} @inforef{,,imanual}
address@hidden , Bidule, Truc, file, Printed}.
 ']
 );
 

Index: t/results/converters_tests/ref_error_formatting.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/converters_tests/ref_error_formatting.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/converters_tests/ref_error_formatting.pl  3 Jan 2012 23:43:32 
-0000       1.7
+++ t/results/converters_tests/ref_error_formatting.pl  13 Jan 2012 18:58:13 
-0000      1.8
@@ -4666,165 +4666,48 @@
 
 $result_errors{'ref_error_formatting'} = [
   {
-    'error_line' => ':4: warning: Command @ref missing a node argument
+    'error_line' => ':4: warning: Command @ref missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 4,
     'macro' => '',
-    'text' => 'Command @ref missing a node argument',
+    'text' => 'Command @ref missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':5: warning: Command @ref missing a node argument
+    'error_line' => ':5: warning: Command @ref missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 5,
     'macro' => '',
-    'text' => 'Command @ref missing a node argument',
+    'text' => 'Command @ref missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':6: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 6,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':7: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 7,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':22: warning: Command @ref missing a node argument
+    'error_line' => ':22: warning: Command @ref missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 22,
     'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':23: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 23,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':24: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 24,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':25: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 25,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':26: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 26,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':27: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 27,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':28: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 28,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':29: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 29,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
+    'text' => 'Command @ref missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':30: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 30,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':31: warning: Command @ref missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 31,
-    'macro' => '',
-    'text' => 'Command @ref missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':33: warning: Command @inforef missing a node argument
+    'error_line' => ':33: warning: Command @inforef missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 33,
     'macro' => '',
-    'text' => 'Command @inforef missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':34: warning: Command @inforef missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 34,
-    'macro' => '',
-    'text' => 'Command @inforef missing a node argument',
-    'type' => 'warning'
-  },
-  {
-    'error_line' => ':35: warning: Command @inforef missing a node argument
-',
-    'file_name' => '',
-    'line_nr' => 35,
-    'macro' => '',
-    'text' => 'Command @inforef missing a node argument',
+    'text' => 'Command @inforef missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':36: warning: Command @inforef missing a node argument
+    'error_line' => ':36: warning: Command @inforef missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 36,
     'macro' => '',
-    'text' => 'Command @inforef missing a node argument',
+    'text' => 'Command @inforef missing a node or external manual argument',
     'type' => 'warning'
   },
   {

Index: t/results/coverage_braces/empty_ref.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage_braces/empty_ref.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/coverage_braces/empty_ref.pl      11 Jan 2012 23:27:40 -0000      
1.6
+++ t/results/coverage_braces/empty_ref.pl      13 Jan 2012 18:58:14 -0000      
1.7
@@ -208,39 +208,39 @@
 
 $result_errors{'empty_ref'} = [
   {
-    'error_line' => ':2: warning: Command @ref missing a node argument
+    'error_line' => ':2: warning: Command @ref missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 2,
     'macro' => '',
-    'text' => 'Command @ref missing a node argument',
+    'text' => 'Command @ref missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':2: warning: Command @xref missing a node argument
+    'error_line' => ':2: warning: Command @xref missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 2,
     'macro' => '',
-    'text' => 'Command @xref missing a node argument',
+    'text' => 'Command @xref missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':2: warning: Command @inforef missing a node argument
+    'error_line' => ':2: warning: Command @inforef missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 2,
     'macro' => '',
-    'text' => 'Command @inforef missing a node argument',
+    'text' => 'Command @inforef missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':3: warning: Command @inforef missing a node argument
+    'error_line' => ':3: warning: Command @inforef missing a node or external 
manual argument
 ',
     'file_name' => '',
     'line_nr' => 3,
     'macro' => '',
-    'text' => 'Command @inforef missing a node argument',
+    'text' => 'Command @inforef missing a node or external manual argument',
     'type' => 'warning'
   }
 ];

Index: t/results/coverage_braces/ref_empty_node.pl
===================================================================
RCS file: t/results/coverage_braces/ref_empty_node.pl
diff -N t/results/coverage_braces/ref_empty_node.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/results/coverage_braces/ref_empty_node.pl 13 Jan 2012 18:58:14 -0000      
1.1
@@ -0,0 +1,338 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text);
+
+use utf8;
+
+$result_trees{'ref_empty_node'} = {
+  'contents' => [
+    {
+      'parent' => {},
+      'text' => '
+',
+      'type' => 'empty_line'
+    },
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'manual'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'ref',
+          'contents' => [],
+          'extra' => {
+            'brace_command_contents' => [
+              undef,
+              undef,
+              undef,
+              [
+                {}
+              ]
+            ]
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => ' '
+        },
+        {
+          'args' => [
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => ' ',
+                  'type' => 'empty_spaces_before_argument'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => ' ',
+                  'type' => 'empty_spaces_before_argument'
+                },
+                {
+                  'parent' => {},
+                  'text' => 'Manual'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'ref',
+          'contents' => [],
+          'extra' => {
+            'brace_command_contents' => [
+              undef,
+              undef,
+              undef,
+              undef,
+              [
+                {}
+              ]
+            ]
+          },
+          'line_nr' => {},
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => ' '
+        },
+        {
+          'args' => [
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'imanual'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'inforef',
+          'contents' => [],
+          'extra' => {
+            'brace_command_contents' => [
+              undef,
+              undef,
+              [
+                {}
+              ]
+            ]
+          },
+          'line_nr' => {},
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '
+'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'text' => ' ',
+                  'type' => 'empty_spaces_before_argument'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => ' ',
+                  'type' => 'empty_spaces_before_argument'
+                },
+                {
+                  'parent' => {},
+                  'text' => 'Bidule'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => ' ',
+                  'type' => 'empty_spaces_before_argument'
+                },
+                {
+                  'parent' => {},
+                  'text' => 'Truc'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => ' ',
+                  'type' => 'empty_spaces_before_argument'
+                },
+                {
+                  'parent' => {},
+                  'text' => 'file'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'text' => ' ',
+                  'type' => 'empty_spaces_before_argument'
+                },
+                {
+                  'parent' => {},
+                  'text' => 'Printed'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'xref',
+          'contents' => [],
+          'extra' => {
+            'brace_command_contents' => [
+              undef,
+              [
+                {}
+              ],
+              [
+                {}
+              ],
+              [
+                {}
+              ],
+              [
+                {}
+              ]
+            ]
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 3,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '.
+'
+        }
+      ],
+      'parent' => {},
+      'type' => 'paragraph'
+    }
+  ],
+  'type' => 'text_root'
+};
+$result_trees{'ref_empty_node'}{'contents'}[0]{'parent'} = 
$result_trees{'ref_empty_node'};
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'args'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'args'}[2]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'args'}[3]{'contents'}[0]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'args'}[3];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'args'}[3]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[3][0]
 = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'args'}[3]{'contents'}[0];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[1]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[2]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[3]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[4]{'contents'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[4];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[4]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'extra'}{'brace_command_contents'}[4][0]
 = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'args'}[4]{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'line_nr'} = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'line_nr'};
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[2]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[3]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'args'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'args'}[2]{'contents'}[0]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'args'}[2];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'args'}[2]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'extra'}{'brace_command_contents'}[2][0]
 = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'args'}[2]{'contents'}[0];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'line_nr'} = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[0]{'line_nr'};
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[4]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[5]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'contents'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[2]{'contents'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[2];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[2]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[3]{'contents'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[3];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[3]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[4]{'contents'}[1]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[4];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[4]{'parent'}
 = $result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[1][0]
 = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[2][0]
 = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[2]{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[3][0]
 = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[3]{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[4][0]
 = 
$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'args'}[4]{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[6]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'contents'}[7]{'parent'} = 
$result_trees{'ref_empty_node'}{'contents'}[1];
+$result_trees{'ref_empty_node'}{'contents'}[1]{'parent'} = 
$result_trees{'ref_empty_node'};
+
+$result_texis{'ref_empty_node'} = '
address@hidden,,,manual} @ref{,,, , Manual} @inforef{,,imanual}
address@hidden , Bidule, Truc, file, Printed}.
+';
+
+
+$result_texts{'ref_empty_node'} = '
+  
+.
+';
+
+$result_errors{'ref_empty_node'} = [];
+
+
+1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]