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{'macro_in_ifset'} = {
'contents' => [
{
'contents' => [
{
'text' => '
',
'type' => 'empty_line'
},
{
'args' => [
{
'text' => 'truc',
'type' => 'macro_name'
}
],
'cmdname' => 'macro',
'contents' => [
{
'text' => 'truc
',
'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' => ' truc {}
'
},
'source_info' => {
'file_name' => '',
'line_nr' => 2,
'macro' => ''
}
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'a'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifset',
'contents' => [
{
'text' => '@unmacro truc
',
'type' => 'raw'
},
{
'text' => '@macro truc{}
',
'type' => 'raw'
},
{
'text' => 'in ifset
',
'type' => 'raw'
},
{
'text' => '@end macro
',
'type' => 'raw'
},
{
'args' => [
{
'contents' => [
{
'text' => 'ifset'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'ifset'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 11,
'macro' => ''
}
}
],
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 6,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'ignored_conditional_block'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'type' => 'brace_command_arg'
}
],
'info' => {
'command_name' => 'truc'
},
'type' => 'macro_call'
},
'position' => 1,
'sourcemark_type' => 'macro_expansion',
'status' => 'start'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'source_marks' => [
{
'counter' => 1,
'position' => 4,
'sourcemark_type' => 'macro_expansion',
'status' => 'end'
}
],
'text' => 'truc
'
}
],
'type' => 'paragraph'
}
],
'type' => 'before_node_section'
}
],
'type' => 'document_root'
};
$result_texis{'macro_in_ifset'} = '
@macro truc {}
truc
@end macro
truc
';
$result_texts{'macro_in_ifset'} = '
truc
';
$result_errors{'macro_in_ifset'} = [];
$result_floats{'macro_in_ifset'} = {};
1;