123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- 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{'arg_body_expansion_order'} = {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'parent' => {},
- 'text' => 'othermacro',
- 'type' => 'macro_name'
- }
- ],
- 'cmdname' => 'macro',
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'initial',
- 'type' => 'raw'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'last_raw_newline'
- }
- ],
- 'extra' => {
- 'arg_line' => ' othermacro
- '
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 2,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'extra' => {
- 'command' => {}
- },
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line_after_command'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'parent' => {},
- 'text' => 'redefineothermacro',
- 'type' => 'macro_name'
- },
- {
- 'parent' => {},
- 'text' => 'arg',
- 'type' => 'macro_arg'
- }
- ],
- 'cmdname' => 'macro',
- 'contents' => [
- {
- 'parent' => {},
- 'text' => '@unmacro othermacro
- ',
- 'type' => 'raw'
- },
- {
- 'cmdname' => 'macro',
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'different',
- 'type' => 'raw'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'last_raw_newline'
- }
- ],
- 'extra' => {
- 'arg_line' => ' othermacro
- '
- },
- 'parent' => {}
- },
- {
- 'extra' => {
- 'command' => {}
- },
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line_after_command'
- },
- {
- 'parent' => {},
- 'text' => '\\arg\\',
- 'type' => 'raw'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'last_raw_newline'
- }
- ],
- 'extra' => {
- 'arg_line' => ' redefineothermacro {arg}
- '
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 6,
- 'macro' => ''
- },
- 'parent' => {}
- },
- {
- 'extra' => {
- 'command' => {}
- },
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line_after_command'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line'
- },
- {
- 'args' => [
- {
- 'parent' => {},
- 'text' => 'othermacro',
- 'type' => 'misc_arg'
- }
- ],
- 'cmdname' => 'unmacro',
- 'extra' => {
- 'arg_line' => ' othermacro
- ',
- 'misc_args' => [
- 'othermacro'
- ]
- },
- 'parent' => {}
- },
- {
- 'args' => [
- {
- 'parent' => {},
- 'text' => 'othermacro',
- 'type' => 'macro_name'
- }
- ],
- 'cmdname' => 'macro',
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'different',
- 'type' => 'raw'
- },
- {
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'last_raw_newline'
- }
- ],
- 'extra' => {
- 'arg_line' => ' othermacro
- '
- },
- 'line_nr' => {
- 'file_name' => '',
- 'line_nr' => 14,
- 'macro' => 'redefineothermacro'
- },
- 'parent' => {}
- },
- {
- 'extra' => {
- 'command' => {}
- },
- 'parent' => {},
- 'text' => '
- ',
- 'type' => 'empty_line_after_command'
- },
- {
- 'contents' => [
- {
- 'parent' => {},
- 'text' => 'different
- '
- }
- ],
- 'parent' => {},
- 'type' => 'paragraph'
- }
- ],
- 'type' => 'text_root'
- };
- $result_trees{'arg_body_expansion_order'}{'contents'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[1];
- $result_trees{'arg_body_expansion_order'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[1];
- $result_trees{'arg_body_expansion_order'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[1];
- $result_trees{'arg_body_expansion_order'}{'contents'}[1]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[2]{'extra'}{'command'} = $result_trees{'arg_body_expansion_order'}{'contents'}[1];
- $result_trees{'arg_body_expansion_order'}{'contents'}[2]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[3]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'args'}[1]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[1];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[1];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[1]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[2]{'extra'}{'command'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[1];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[2]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[3]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'contents'}[4]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[4]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[5]{'extra'}{'command'} = $result_trees{'arg_body_expansion_order'}{'contents'}[4];
- $result_trees{'arg_body_expansion_order'}{'contents'}[5]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[6]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[7]{'args'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[7];
- $result_trees{'arg_body_expansion_order'}{'contents'}[7]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[8]{'args'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[8];
- $result_trees{'arg_body_expansion_order'}{'contents'}[8]{'contents'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[8];
- $result_trees{'arg_body_expansion_order'}{'contents'}[8]{'contents'}[1]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[8];
- $result_trees{'arg_body_expansion_order'}{'contents'}[8]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[9]{'extra'}{'command'} = $result_trees{'arg_body_expansion_order'}{'contents'}[8];
- $result_trees{'arg_body_expansion_order'}{'contents'}[9]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_trees{'arg_body_expansion_order'}{'contents'}[10]{'contents'}[0]{'parent'} = $result_trees{'arg_body_expansion_order'}{'contents'}[10];
- $result_trees{'arg_body_expansion_order'}{'contents'}[10]{'parent'} = $result_trees{'arg_body_expansion_order'};
- $result_texis{'arg_body_expansion_order'} = '
- @macro othermacro
- initial
- @end macro
- @macro redefineothermacro {arg}
- @unmacro othermacro
- @macro othermacro
- different
- @end macro
- \\arg\\
- @end macro
- @unmacro othermacro
- @macro othermacro
- different
- @end macro
- different
- ';
- $result_texts{'arg_body_expansion_order'} = '
- different
- ';
- $result_errors{'arg_body_expansion_order'} = [];
- 1;
|