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{'end_conditional_in_linemacro'} = {
'contents' => [
{
'contents' => [
{
'args' => [
{
'text' => 'lm',
'type' => 'macro_name'
},
{
'text' => 'a',
'type' => 'macro_arg'
}
],
'cmdname' => 'linemacro',
'contents' => [
{
'text' => '\\a\\
',
'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' => ' lm {a}
'
},
'source_info' => {
'file_name' => '',
'line_nr' => 1,
'macro' => ''
}
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'aa'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifclear',
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 5,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'start'
},
{
'counter' => 1,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'text
@end ifclear',
'type' => 'bracketed_linemacro_arg'
}
],
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
}
}
],
'info' => {
'command_name' => 'lm'
},
'type' => 'linemacro_call'
},
'position' => 1,
'sourcemark_type' => 'linemacro_expansion',
'status' => 'start'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'contents' => [
{
'text' => 'text
'
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'contents' => [
{
'source_marks' => [
{
'counter' => 1,
'position' => 7,
'sourcemark_type' => 'linemacro_expansion',
'status' => 'end'
}
],
'text' => 'ifclear'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'line_arg'
}
],
'cmdname' => 'end',
'extra' => {
'text_arg' => 'ifclear'
},
'info' => {
'spaces_before_argument' => {
'text' => ' '
}
},
'source_info' => {
'file_name' => '',
'line_nr' => 7,
'macro' => 'lm'
}
},
'position' => 2,
'sourcemark_type' => 'expanded_conditional_command',
'status' => 'end'
}
],
'text' => ' '
}
],
'type' => 'paragraph'
},
{
'source_marks' => [
{
'counter' => 1,
'element' => {
'args' => [
{
'contents' => [
{
'text' => 'b'
}
],
'info' => {
'spaces_after_argument' => {
'text' => '
'
}
},
'type' => 'block_line_arg'
}
],
'cmdname' => 'ifset',
'contents' => [
{
'text' => '@lm {text
',
'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' => 9,
'macro' => ''
}
},
'position' => 1,
'sourcemark_type' => 'ignored_conditional_block'
}
],
'text' => '
',
'type' => 'empty_line'
},
{
'text' => '
',
'type' => 'empty_line'
}
],
'type' => 'before_node_section'
}
],
'type' => 'document_root'
};
$result_texis{'end_conditional_in_linemacro'} = '@linemacro lm {a}
\\a\\
@end linemacro
text
';
$result_texts{'end_conditional_in_linemacro'} = '
text
';
$result_errors{'end_conditional_in_linemacro'} = [
{
'error_line' => 'misplaced }
',
'file_name' => '',
'line_nr' => 11,
'macro' => '',
'text' => 'misplaced }',
'type' => 'error'
}
];
$result_floats{'end_conditional_in_linemacro'} = {};
1;