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{'recursive_linemacro_in_body'} = {
'contents' => [
{
'contents' => [
{
'args' => [
{
'text' => 'anorecurse',
'type' => 'macro_name'
},
{
'text' => 'arg',
'type' => 'macro_arg'
},
{
'text' => 'other',
'type' => 'macro_arg'
}
],
'cmdname' => 'linemacro',
'contents' => [
{
'text' => '@anorecurse {\\arg\\} d \\other\\
',
'type' => 'raw'
},
{
'args' => [
{
'contents' => [
{
'text' => 'linemacro'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'linemacro'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 3,
'macro' => ''
}
}
],
'info' => {
'arg_line' => ' anorecurse {arg, other}
'
},
'source_info' => {
'file_name' => '',
'line_nr' => 1,
'macro' => ''
}
},
{
'text' => '
',
'type' => 'empty_line'
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'aa',
'type' => 'bracketed_linemacro_arg'
}
],
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
}
},
{
'contents' => [
{
'text' => 'b c'
}
],
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
}
}
],
'info' => {
'command_name' => 'anorecurse'
},
'type' => 'linemacro_call'
},
'sourcemark_type' => 'linemacro_expansion',
'status' => 'start'
}
],
'text' => '
',
'type' => 'empty_line'
}
],
'type' => 'before_node_section'
}
],
'type' => 'document_root'
};
$result_texis{'recursive_linemacro_in_body'} = '@linemacro anorecurse {arg, other}
@anorecurse {\\arg\\} d \\other\\
@end linemacro
';
$result_texts{'recursive_linemacro_in_body'} = '
';
$result_errors{'recursive_linemacro_in_body'} = [
{
'error_line' => 'recursive call of macro anorecurse is not allowed; use @rmacro if needed (possibly involving @anorecurse)
',
'file_name' => '',
'line_nr' => 5,
'macro' => 'anorecurse',
'text' => 'recursive call of macro anorecurse is not allowed; use @rmacro if needed',
'type' => 'error'
}
];
$result_floats{'recursive_linemacro_in_body'} = {};
1;