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_expansion_end_in_ignored_nested_different_conditional'} = {
  'contents' => [
    {
      'contents' => [
        {
          'args' => [
            {
              'text' => 'beginnestedcond',
              'type' => 'macro_name'
            }
          ],
          'cmdname' => 'macro',
          'contents' => [
            {
              'text' => '@ifset a
',
              'type' => 'raw'
            },
            {
              'text' => '@ifclear b
',
              'type' => 'raw'
            },
            {
              'text' => 'GG
',
              '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' => 5,
                'macro' => ''
              }
            }
          ],
          'info' => {
            'arg_line' => ' beginnestedcond
'
          },
          'source_info' => {
            'file_name' => '',
            'line_nr' => 1,
            'macro' => ''
          }
        },
        {
          'source_marks' => [
            {
              'counter' => 1,
              'element' => {
                'args' => [
                  {
                    'type' => 'brace_command_arg'
                  }
                ],
                'info' => {
                  'command_name' => 'beginnestedcond'
                },
                'type' => 'macro_call'
              },
              'position' => 1,
              'sourcemark_type' => 'macro_expansion',
              'status' => 'start'
            },
            {
              'counter' => 1,
              'element' => {
                'args' => [
                  {
                    'contents' => [
                      {
                        'text' => 'a'
                      }
                    ],
                    'info' => {
                      'spaces_after_argument' => {
                        'text' => '
'
                      }
                    },
                    'type' => 'block_line_arg'
                  }
                ],
                'cmdname' => 'ifset',
                'contents' => [
                  {
                    'text' => '@ifclear b
',
                    'type' => 'raw'
                  },
                  {
                    'source_marks' => [
                      {
                        'counter' => 1,
                        'position' => 2,
                        'sourcemark_type' => 'macro_expansion',
                        'status' => 'end'
                      }
                    ],
                    'text' => 'GG',
                    'type' => 'raw'
                  },
                  {
                    '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' => 8,
                      'macro' => ''
                    }
                  }
                ],
                'info' => {
                  'spaces_before_argument' => {
                    'text' => ' '
                  }
                },
                'source_info' => {
                  'file_name' => '',
                  'line_nr' => 7,
                  'macro' => 'beginnestedcond'
                }
              },
              'position' => 1,
              'sourcemark_type' => 'ignored_conditional_block'
            }
          ],
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'type' => 'before_node_section'
    }
  ],
  'type' => 'document_root'
};

$result_texis{'macro_expansion_end_in_ignored_nested_different_conditional'} = '@macro beginnestedcond
@ifset a
@ifclear b
GG
@end macro

';


$result_texts{'macro_expansion_end_in_ignored_nested_different_conditional'} = '
';

$result_errors{'macro_expansion_end_in_ignored_nested_different_conditional'} = [
  {
    'error_line' => 'unmatched `@end ifclear\'
',
    'file_name' => '',
    'line_nr' => 9,
    'macro' => '',
    'text' => 'unmatched `@end ifclear\'',
    'type' => 'error'
  }
];


$result_floats{'macro_expansion_end_in_ignored_nested_different_conditional'} = {};


1;
