123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- 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{'empty_images'} = {
- 'contents' => [
- {
- 'args' => [
- {
- 'contents' => [],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- }
- ],
- 'cmdname' => 'image',
- 'contents' => [],
- 'extra' => {
- 'brace_command_contents' => [
- undef
- ]
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 1,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'parent' => {},
- 'text' => '
- '
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'empty_spaces_before_argument'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'aa'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'bb'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'cc'
- },
- {
- 'parent' => {},
- 'text' => ' ',
- 'type' => 'spaces_at_end'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'dd'
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- }
- ],
- 'cmdname' => 'image',
- 'contents' => [],
- 'extra' => {
- 'brace_command_contents' => [
- undef,
- [
- {}
- ],
- [
- {}
- ],
- [
- {}
- ],
- [
- {}
- ]
- ],
- 'spaces_before_argument' => {}
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 3,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'parent' => {},
- 'text' => '
- '
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'contents' => [],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'cmdname' => ' ',
- 'parent' => {}
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- }
- ],
- 'cmdname' => 'image',
- 'contents' => [],
- 'extra' => {
- 'brace_command_contents' => [
- undef,
- undef,
- undef,
- [
- {}
- ]
- ]
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 5,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'parent' => {},
- 'text' => '
- '
- },
- {
- 'args' => [
- {
- 'contents' => [],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- },
- {
- 'contents' => [
- {
- 'cmdname' => ':',
- 'parent' => {}
- }
- ],
- 'parent' => {},
- 'type' => 'brace_command_arg'
- }
- ],
- 'cmdname' => 'image',
- 'contents' => [],
- 'extra' => {
- 'brace_command_contents' => [
- undef,
- undef,
- undef,
- [
- {}
- ]
- ]
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 6,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'parent' => {},
- 'text' => '
- '
- }
- ],
- 'type' => 'text_root'
- };
- $result_trees{'empty_images'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[0]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[1]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[2]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[3]{'args'}[0];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[3];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[3]{'args'}[1];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[1]{'parent'} = $result_trees{'empty_images'}{'contents'}[3];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[2]{'contents'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[3]{'args'}[2];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[2]{'parent'} = $result_trees{'empty_images'}{'contents'}[3];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[3]{'args'}[3];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[3]{'contents'}[1]{'parent'} = $result_trees{'empty_images'}{'contents'}[3]{'args'}[3];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[3]{'parent'} = $result_trees{'empty_images'}{'contents'}[3];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[4]{'contents'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[3]{'args'}[4];
- $result_trees{'empty_images'}{'contents'}[3]{'args'}[4]{'parent'} = $result_trees{'empty_images'}{'contents'}[3];
- $result_trees{'empty_images'}{'contents'}[3]{'extra'}{'brace_command_contents'}[1][0] = $result_trees{'empty_images'}{'contents'}[3]{'args'}[1]{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[3]{'extra'}{'brace_command_contents'}[2][0] = $result_trees{'empty_images'}{'contents'}[3]{'args'}[2]{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[3]{'extra'}{'brace_command_contents'}[3][0] = $result_trees{'empty_images'}{'contents'}[3]{'args'}[3]{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[3]{'extra'}{'brace_command_contents'}[4][0] = $result_trees{'empty_images'}{'contents'}[3]{'args'}[4]{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[3]{'extra'}{'spaces_before_argument'} = $result_trees{'empty_images'}{'contents'}[3]{'args'}[0]{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[3]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[4]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[5]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[6]{'args'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[6];
- $result_trees{'empty_images'}{'contents'}[6]{'args'}[1]{'parent'} = $result_trees{'empty_images'}{'contents'}[6];
- $result_trees{'empty_images'}{'contents'}[6]{'args'}[2]{'parent'} = $result_trees{'empty_images'}{'contents'}[6];
- $result_trees{'empty_images'}{'contents'}[6]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[6]{'args'}[3];
- $result_trees{'empty_images'}{'contents'}[6]{'args'}[3]{'parent'} = $result_trees{'empty_images'}{'contents'}[6];
- $result_trees{'empty_images'}{'contents'}[6]{'extra'}{'brace_command_contents'}[3][0] = $result_trees{'empty_images'}{'contents'}[6]{'args'}[3]{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[6]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[7]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[8]{'args'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[8];
- $result_trees{'empty_images'}{'contents'}[8]{'args'}[1]{'parent'} = $result_trees{'empty_images'}{'contents'}[8];
- $result_trees{'empty_images'}{'contents'}[8]{'args'}[2]{'parent'} = $result_trees{'empty_images'}{'contents'}[8];
- $result_trees{'empty_images'}{'contents'}[8]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'empty_images'}{'contents'}[8]{'args'}[3];
- $result_trees{'empty_images'}{'contents'}[8]{'args'}[3]{'parent'} = $result_trees{'empty_images'}{'contents'}[8];
- $result_trees{'empty_images'}{'contents'}[8]{'extra'}{'brace_command_contents'}[3][0] = $result_trees{'empty_images'}{'contents'}[8]{'args'}[3]{'contents'}[0];
- $result_trees{'empty_images'}{'contents'}[8]{'parent'} = $result_trees{'empty_images'};
- $result_trees{'empty_images'}{'contents'}[9]{'parent'} = $result_trees{'empty_images'};
- $result_texis{'empty_images'} = '@image{}
- @image{ ,aa,bb,cc ,dd}
- @image{,,,@ }
- @image{,,,@:}
- ';
- $result_texts{'empty_images'} = '
- ';
- $result_errors{'empty_images'} = [
- {
- 'error_line' => ':1: @image missing filename argument
- ',
- 'file_name' => '',
- 'line_nr' => 1,
- 'macro' => '',
- 'text' => '@image missing filename argument',
- 'type' => 'error'
- },
- {
- 'error_line' => ':3: @image missing filename argument
- ',
- 'file_name' => '',
- 'line_nr' => 3,
- 'macro' => '',
- 'text' => '@image missing filename argument',
- 'type' => 'error'
- },
- {
- 'error_line' => ':5: @image missing filename argument
- ',
- 'file_name' => '',
- 'line_nr' => 5,
- 'macro' => '',
- 'text' => '@image missing filename argument',
- 'type' => 'error'
- },
- {
- 'error_line' => ':6: @image missing filename argument
- ',
- 'file_name' => '',
- 'line_nr' => 6,
- 'macro' => '',
- 'text' => '@image missing filename argument',
- 'type' => 'error'
- }
- ];
- 1;
|