123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- 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{'unknown_encoding'} = {
- 'contents' => [
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'extra' => {
- 'command' => {}
- },
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'empty_spaces_after_command'
- },
- {
- 'parent' => {},
- 'text' => 'ggg'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'spaces_at_end'
- }
- ],
- 'parent' => {},
- 'type' => 'misc_line_arg'
- }
- ],
- 'cmdname' => 'documentencoding',
- 'extra' => {
- 'spaces_after_command' => {},
- 'text_arg' => 'ggg'
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 2,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- }
- ],
- 'parent' => {},
- 'type' => 'text_root'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'extra' => {
- 'command' => {}
- },
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'empty_spaces_after_command'
- },
- {
- 'parent' => {},
- 'text' => 'Top'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'spaces_at_end'
- }
- ],
- 'parent' => {},
- 'type' => 'misc_line_arg'
- }
- ],
- 'cmdname' => 'node',
- 'contents' => [
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- }
- ],
- 'extra' => {
- 'node_content' => [
- {}
- ],
- 'nodes_manuals' => [
- {
- 'node_content' => [],
- 'normalized' => 'Top'
- }
- ],
- 'normalized' => 'Top',
- 'spaces_after_command' => {}
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 4,
- 'macro' => ''
- },
- 'parent' => {}
- }
- ],
- 'type' => 'document_root'
- };
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[0]{'parent'} = $result_trees{'unknown_encoding'};
- $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'unknown_encoding'}{'contents'}[1];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[1];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'unknown_encoding'}{'contents'}[1];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0]{'contents'}[1];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'unknown_encoding'}{'contents'}[1]{'extra'}{'node_content'};
- $result_trees{'unknown_encoding'}{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'unknown_encoding'}{'contents'}[1]{'args'}[0]{'contents'}[0];
- $result_trees{'unknown_encoding'}{'contents'}[1]{'parent'} = $result_trees{'unknown_encoding'};
- $result_texis{'unknown_encoding'} = '
- @documentencoding ggg
- @node Top
- ';
- $result_texts{'unknown_encoding'} = '
- ';
- $result_sectioning{'unknown_encoding'} = {};
- $result_nodes{'unknown_encoding'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- },
- 'node_up' => {
- 'extra' => {
- 'manual_content' => [
- {
- 'text' => 'dir'
- }
- ],
- 'top_node_up' => {}
- },
- 'type' => 'top_node_up'
- }
- };
- $result_nodes{'unknown_encoding'}{'node_up'}{'extra'}{'top_node_up'} = $result_nodes{'unknown_encoding'};
- $result_menus{'unknown_encoding'} = {
- 'cmdname' => 'node',
- 'extra' => {
- 'normalized' => 'Top'
- }
- };
- $result_errors{'unknown_encoding'} = [
- {
- 'error_line' => ':2: warning: encoding `ggg\' is not a canonical texinfo encoding
- ',
- 'file_name' => '',
- 'line_nr' => 2,
- 'macro' => '',
- 'text' => 'encoding `ggg\' is not a canonical texinfo encoding',
- 'type' => 'warning'
- },
- {
- 'error_line' => ':2: warning: unrecognized encoding name `ggg\'
- ',
- 'file_name' => '',
- 'line_nr' => 2,
- 'macro' => '',
- 'text' => 'unrecognized encoding name `ggg\'',
- 'type' => 'warning'
- }
- ];
- $result_converted{'info'}->{'unknown_encoding'} = 'This is , produced from .
- File: , Node: Top, Up: (dir)
- Tag Table:
- Node: Top27
- End Tag Table
- ';
- 1;
|