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{'leading_spaces_no_ignore'} = {
'contents' => [
{
'contents' => [
{
'args' => [
{
'text' => 'mymacro',
'type' => 'macro_name'
}
],
'cmdname' => 'macro',
'contents' => [
{
'text' => ' Some here
',
'type' => 'raw'
},
{
'text' => ' text
',
'type' => 'raw'
},
{
'args' => [
{
'contents' => [
{
'text' => 'macro'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'macro'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 4,
'macro' => ''
}
}
],
'info' => {
'arg_line' => ' mymacro
'
},
'source_info' => {
'file_name' => '',
'line_nr' => 1,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'type' => 'brace_command_arg'
}
],
'info' => {
'command_name' => 'mymacro'
},
'type' => 'macro_call'
},
'sourcemark_type' => 'macro_expansion',
'status' => 'start'
}
],
'text' => ' ',
'type' => 'spaces_before_paragraph'
},
{
'contents' => [
{
'text' => 'Some here
'
},
{
'source_marks' => [
{
'counter' => 1,
'position' => 6,
'sourcemark_type' => 'macro_expansion',
'status' => 'end'
}
],
'text' => ' text
'
}
],
'type' => 'paragraph'
}
],
'type' => 'before_node_section'
}
],
'type' => 'document_root'
};
$result_texis{'leading_spaces_no_ignore'} = '@macro mymacro
Some here
text
@end macro
Some here
text
';
$result_texts{'leading_spaces_no_ignore'} = '
Some here
text
';
$result_errors{'leading_spaces_no_ignore'} = [];
$result_floats{'leading_spaces_no_ignore'} = {};
1;