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 %result_indices_sort_strings); use utf8; $result_trees{'comments_in_example'} = { 'contents' => [ { 'contents' => [ { 'contents' => [ { 'text' => 'Example with comments 2 lines ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'example', 'contents' => [ { 'contents' => [ { 'text' => 'line ' }, { 'args' => [ { 'text' => ' comment ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' }, { 'text' => 'second line ' }, { 'args' => [ { 'text' => ' comment ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' } ], 'type' => 'preformatted' }, { 'args' => [ { 'contents' => [ { 'text' => 'example' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'example' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 5, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 2, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Example with comments 1 line ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'example', 'contents' => [ { 'contents' => [ { 'text' => 'line ' }, { 'args' => [ { 'text' => ' comment ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' } ], 'type' => 'preformatted' }, { 'args' => [ { 'contents' => [ { 'text' => 'example' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'example' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 10, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 8, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' }, { 'contents' => [ { 'text' => 'Example with newline after comment ' } ], 'type' => 'paragraph' }, { 'args' => [ { 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'block_line_arg' } ], 'cmdname' => 'example', 'contents' => [ { 'contents' => [ { 'text' => 'line ' }, { 'args' => [ { 'text' => ' comment ', 'type' => 'rawline_arg' } ], 'cmdname' => 'c' }, { 'text' => ' ', 'type' => 'empty_line' }, { 'text' => 'second line ' } ], 'type' => 'preformatted' }, { 'args' => [ { 'contents' => [ { 'text' => 'example' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'end', 'extra' => { 'text_arg' => 'example' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 17, 'macro' => '' } } ], 'source_info' => { 'file_name' => '', 'line_nr' => 13, 'macro' => '' } } ], 'type' => 'before_node_section' } ], 'type' => 'document_root' }; $result_texis{'comments_in_example'} = 'Example with comments 2 lines @example line @c comment second line @c comment @end example Example with comments 1 line @example line @c comment @end example Example with newline after comment @example line @c comment second line @end example '; $result_texts{'comments_in_example'} = 'Example with comments 2 lines line second line Example with comments 1 line line Example with newline after comment line second line '; $result_errors{'comments_in_example'} = []; $result_floats{'comments_in_example'} = {}; $result_converted{'plaintext'}->{'comments_in_example'} = 'Example with comments 2 lines line second line Example with comments 1 line line Example with newline after comment line second line '; $result_converted{'html'}->{'comments_in_example'} = '
Example with comments 2 lines
line second line
Example with comments 1 line
line
Example with newline after comment
line second line
line second line
line
line second line