diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/texinfo/texinfo/tp/t/results/macro/ifset_in_macro.pl |
Initial commit
Diffstat (limited to 'macros/texinfo/texinfo/tp/t/results/macro/ifset_in_macro.pl')
-rw-r--r-- | macros/texinfo/texinfo/tp/t/results/macro/ifset_in_macro.pl | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/macros/texinfo/texinfo/tp/t/results/macro/ifset_in_macro.pl b/macros/texinfo/texinfo/tp/t/results/macro/ifset_in_macro.pl new file mode 100644 index 0000000000..8296d3f7c1 --- /dev/null +++ b/macros/texinfo/texinfo/tp/t/results/macro/ifset_in_macro.pl @@ -0,0 +1,100 @@ +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{'ifset_in_macro'} = { + 'contents' => [ + { + 'args' => [ + { + 'parent' => {}, + 'text' => 'note', + 'type' => 'macro_name' + }, + { + 'parent' => {}, + 'text' => 'arg', + 'type' => 'macro_arg' + } + ], + 'cmdname' => 'macro', + 'contents' => [ + { + 'parent' => {}, + 'text' => '@ifset notes +', + 'type' => 'raw' + }, + { + 'parent' => {}, + 'text' => '\\arg\\ +', + 'type' => 'raw' + }, + { + 'parent' => {}, + 'text' => '@end ifset', + 'type' => 'raw' + }, + { + 'parent' => {}, + 'text' => ' +', + 'type' => 'last_raw_newline' + } + ], + 'extra' => { + 'arg_line' => ' note {arg} +' + }, + 'line_nr' => { + 'file_name' => '', + 'line_nr' => 1, + 'macro' => '' + }, + 'parent' => {} + }, + { + 'parent' => {}, + 'text' => ' +', + 'type' => 'empty_line_after_command' + }, + { + 'parent' => {}, + 'text' => ' +', + 'type' => 'empty_line' + } + ], + 'type' => 'text_root' +}; +$result_trees{'ifset_in_macro'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'ifset_in_macro'}{'contents'}[0]; +$result_trees{'ifset_in_macro'}{'contents'}[0]{'args'}[1]{'parent'} = $result_trees{'ifset_in_macro'}{'contents'}[0]; +$result_trees{'ifset_in_macro'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'ifset_in_macro'}{'contents'}[0]; +$result_trees{'ifset_in_macro'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'ifset_in_macro'}{'contents'}[0]; +$result_trees{'ifset_in_macro'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'ifset_in_macro'}{'contents'}[0]; +$result_trees{'ifset_in_macro'}{'contents'}[0]{'contents'}[3]{'parent'} = $result_trees{'ifset_in_macro'}{'contents'}[0]; +$result_trees{'ifset_in_macro'}{'contents'}[0]{'parent'} = $result_trees{'ifset_in_macro'}; +$result_trees{'ifset_in_macro'}{'contents'}[1]{'parent'} = $result_trees{'ifset_in_macro'}; +$result_trees{'ifset_in_macro'}{'contents'}[2]{'parent'} = $result_trees{'ifset_in_macro'}; + +$result_texis{'ifset_in_macro'} = '@macro note {arg} +@ifset notes +\\arg\\ +@end ifset +@end macro + +'; + + +$result_texts{'ifset_in_macro'} = ' +'; + +$result_errors{'ifset_in_macro'} = []; + + +1; |