texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: tp/Texinfo/ParserNonXS.pm: remove useless code, u


From: Patrice Dumas
Subject: branch master updated: tp/Texinfo/ParserNonXS.pm: remove useless code, update comments Add tests for @-commands in @end.
Date: Mon, 19 Sep 2022 14:59:57 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 4b880d6e3a tp/Texinfo/ParserNonXS.pm: remove useless code, update 
comments Add tests for @-commands in @end.
4b880d6e3a is described below

commit 4b880d6e3adfc8a9030efe29d2911f2849107d89
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Sep 19 20:59:01 2022 +0200

    tp/Texinfo/ParserNonXS.pm: remove useless code, update comments
    Add tests for @-commands in @end.
---
 tp/Texinfo/ParserNonXS.pm                          |  11 +-
 tp/t/02coverage.t                                  |  98 +++
 tp/t/results/coverage/command_in_end.pl            | 939 +++++++++++++++++++++
 .../command_in_end_expanded_raw_command_after.pl   | 137 +++
 ...mand_in_end_expanded_raw_command_empty_after.pl | 130 +++
 .../command_in_end_expanded_raw_in_command.pl      | 141 ++++
 ..._in_end_expanded_raw_one_char_before_command.pl | 135 +++
 ..._in_end_expanded_raw_one_char_not_in_command.pl | 155 ++++
 ..._in_end_expanded_raw_two_char_before_command.pl | 135 +++
 ..._in_end_expanded_raw_two_char_not_in_command.pl | 155 ++++
 .../command_in_end_ignored_raw_command_after.pl    | 128 +++
 .../command_in_end_ignored_raw_in_command.pl       |  77 ++
 ...d_in_end_ignored_raw_one_char_before_command.pl |  77 ++
 ...d_in_end_ignored_raw_one_char_not_in_command.pl |  77 ++
 ...d_in_end_ignored_raw_two_char_before_command.pl |  77 ++
 ...d_in_end_ignored_raw_two_char_not_in_command.pl |  77 ++
 16 files changed, 2543 insertions(+), 6 deletions(-)

diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index 9985d57836..ad5a1a6cd0 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -1322,7 +1322,6 @@ sub _command_error($$$$;@)
 
   # use the beginning of the @-command for the error message
   # line number if available.
-  # FIXME source_info currently not registered for regular brace commands
   if ($current->{'source_info'}) {
     $source_info = $current->{'source_info'};
   }
@@ -2490,9 +2489,6 @@ sub _split_def_args
   } elsif ($root->{'type'} and $root->{'type'} eq 'bracketed') {
     _isolate_last_space($self, $root);
     $root->{'type'} = 'bracketed_def_content';
-    # FIXME not clear why this needs to be done here
-    delete $root->{'contents'}
-      if ($root->{'contents'} and scalar(@{$root->{'contents'}}) == 0);
   }
   return $root;
 }
@@ -3268,8 +3264,9 @@ sub _end_line($$$)
               my $texi_line
                 = Texinfo::Convert::Texinfo::convert_to_texinfo(
                                                        
$current->{'args'}->[0]);
-              # FIXME an @-command will truncate the identifier, while it will 
have
-              # been expanded above in $text
+              # FIXME an @-command will truncate the identifier, while it
+              # could have been expanded above in $text.  Also the errors
+              # are different if there are one or 2 leading letters
               $texi_line =~ s/^\s*([[:alnum:]][[:alnum:]-]+)//;
               $self->_command_error($current, $source_info,
                              __("superfluous argument to \@%s %s: %s"),
@@ -3277,6 +3274,8 @@ sub _end_line($$$)
               $superfluous_arg = 0; # Don't issue another error message below.
             }
           } else {
+            # FIXME if $superfluous_arg, there will be a second
+            # error message below
             $self->_command_error($current, $source_info,
                               __("bad argument to \@%s: %s"),
                               $command, $line);
diff --git a/tp/t/02coverage.t b/tp/t/02coverage.t
index 09cf4a59b9..5b5e32c5b0 100644
--- a/tp/t/02coverage.t
+++ b/tp/t/02coverage.t
@@ -725,6 +725,104 @@ text in group
 '@unknwon
 @#
 '],
+['command_in_end_ignored_raw_in_command',
+'@html
+In html
+@end @code{html}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_ignored_raw_one_char_not_in_command',
+'@html
+In html
+@end h@asis{tml}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_ignored_raw_two_char_not_in_command',
+'@html
+In html
+@end ht@asis{ml}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_ignored_raw_command_after',
+'@html
+In html
+@end html@asis{asis}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_ignored_raw_one_char_before_command',
+'@html
+In html
+@end h@asis{}tml
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_ignored_raw_two_char_before_command',
+'@html
+In html
+@end ht@asis{}ml
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_expanded_raw_in_command',
+'@tex
+In TeX
+@end @code{tex}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_expanded_raw_one_char_not_in_command',
+'@tex
+In TeX
+@end t@asis{ex}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_expanded_raw_two_char_not_in_command',
+'@tex
+In TeX
+@end te@asis{x}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_expanded_raw_command_after',
+'@tex
+In TeX
+@end tex@asis{asis}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_expanded_raw_command_empty_after',
+'@tex
+In TeX
+@end tex@asis{}
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_expanded_raw_one_char_before_command',
+'@tex
+In TeX
+@end t@asis{}ex
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end_expanded_raw_two_char_before_command',
+'@tex
+In TeX
+@end te@asis{}x
+', { 'EXPANDED_FORMATS' => ['tex'] }],
+['command_in_end',
+'@quotation
+In quotation
+@end @code{quotation}
+
+@quotation
+In quotation
+@end q@code{uotation}
+
+@quotation
+In quotation
+@end qu@code{otation}
+
+@quotation
+In quotation
+@end quot@asis{atio}n
+
+@quotation
+In quotation
+@end q@asis{}uotation
+
+@quotation
+In quotation
+@end qu@asis{}otation
+
+@quotation
+In quotation
+@end quot@asis{}ation
+
+@verbatim
+In verbatim
+@end verb@code{a}tim
+'],
 ['symbol_after_block',
 '@html
 In html
diff --git a/tp/t/results/coverage/command_in_end.pl 
b/tp/t/results/coverage/command_in_end.pl
new file mode 100644
index 0000000000..cb3a47bdc0
--- /dev/null
+++ b/tp/t/results/coverage/command_in_end.pl
@@ -0,0 +1,939 @@
+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{'command_in_end'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'quotation',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In quotation
+'
+                },
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'quotation'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'brace_command_arg'
+                            }
+                          ],
+                          'cmdname' => 'code',
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 3,
+                            'macro' => ''
+                          }
+                        }
+                      ],
+                      'extra' => {
+                        'spaces_after_argument' => '
+'
+                      },
+                      'parent' => {},
+                      'type' => 'line_arg'
+                    }
+                  ],
+                  'cmdname' => 'end',
+                  'extra' => {
+                    'missing_argument' => 1,
+                    'spaces_before_argument' => ' '
+                  },
+                  'parent' => {},
+                  'source_info' => {
+                    'file_name' => '',
+                    'line_nr' => 3,
+                    'macro' => ''
+                  }
+                }
+              ],
+              'parent' => {},
+              'type' => 'paragraph'
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'empty_line'
+            },
+            {
+              'args' => [
+                {
+                  'extra' => {
+                    'spaces_after_argument' => '
+'
+                  },
+                  'parent' => {},
+                  'type' => 'block_line_arg'
+                }
+              ],
+              'cmdname' => 'quotation',
+              'contents' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'In quotation
+'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'q'
+                            },
+                            {
+                              'args' => [
+                                {
+                                  'contents' => [
+                                    {
+                                      'parent' => {},
+                                      'text' => 'uotation'
+                                    }
+                                  ],
+                                  'parent' => {},
+                                  'type' => 'brace_command_arg'
+                                }
+                              ],
+                              'cmdname' => 'code',
+                              'parent' => {},
+                              'source_info' => {
+                                'file_name' => '',
+                                'line_nr' => 7,
+                                'macro' => ''
+                              }
+                            }
+                          ],
+                          'extra' => {
+                            'spaces_after_argument' => '
+'
+                          },
+                          'parent' => {},
+                          'type' => 'line_arg'
+                        }
+                      ],
+                      'cmdname' => 'end',
+                      'extra' => {
+                        'spaces_before_argument' => ' ',
+                        'text_arg' => 'q'
+                      },
+                      'parent' => {},
+                      'source_info' => {
+                        'file_name' => '',
+                        'line_nr' => 7,
+                        'macro' => ''
+                      }
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'paragraph'
+                },
+                {
+                  'parent' => {},
+                  'text' => '
+',
+                  'type' => 'empty_line'
+                },
+                {
+                  'args' => [
+                    {
+                      'extra' => {
+                        'spaces_after_argument' => '
+'
+                      },
+                      'parent' => {},
+                      'type' => 'block_line_arg'
+                    }
+                  ],
+                  'cmdname' => 'quotation',
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => 'In quotation
+'
+                        },
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'qu'
+                                },
+                                {
+                                  'args' => [
+                                    {
+                                      'contents' => [
+                                        {
+                                          'parent' => {},
+                                          'text' => 'otation'
+                                        }
+                                      ],
+                                      'parent' => {},
+                                      'type' => 'brace_command_arg'
+                                    }
+                                  ],
+                                  'cmdname' => 'code',
+                                  'parent' => {},
+                                  'source_info' => {
+                                    'file_name' => '',
+                                    'line_nr' => 11,
+                                    'macro' => ''
+                                  }
+                                }
+                              ],
+                              'extra' => {
+                                'spaces_after_argument' => '
+'
+                              },
+                              'parent' => {},
+                              'type' => 'line_arg'
+                            }
+                          ],
+                          'cmdname' => 'end',
+                          'extra' => {
+                            'spaces_before_argument' => ' ',
+                            'text_arg' => 'qu'
+                          },
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 11,
+                            'macro' => ''
+                          }
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'paragraph'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'empty_line'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'extra' => {
+                            'spaces_after_argument' => '
+'
+                          },
+                          'parent' => {},
+                          'type' => 'block_line_arg'
+                        }
+                      ],
+                      'cmdname' => 'quotation',
+                      'contents' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'In quotation
+'
+                            },
+                            {
+                              'args' => [
+                                {
+                                  'contents' => [
+                                    {
+                                      'parent' => {},
+                                      'text' => 'quot'
+                                    },
+                                    {
+                                      'args' => [
+                                        {
+                                          'contents' => [
+                                            {
+                                              'parent' => {},
+                                              'text' => 'atio'
+                                            }
+                                          ],
+                                          'parent' => {},
+                                          'type' => 'brace_command_arg'
+                                        }
+                                      ],
+                                      'cmdname' => 'asis',
+                                      'parent' => {},
+                                      'source_info' => {
+                                        'file_name' => '',
+                                        'line_nr' => 15,
+                                        'macro' => ''
+                                      }
+                                    },
+                                    {
+                                      'parent' => {},
+                                      'text' => 'n'
+                                    }
+                                  ],
+                                  'extra' => {
+                                    'spaces_after_argument' => '
+'
+                                  },
+                                  'parent' => {},
+                                  'type' => 'line_arg'
+                                }
+                              ],
+                              'cmdname' => 'end',
+                              'extra' => {
+                                'spaces_before_argument' => ' ',
+                                'text_arg' => 'quotn'
+                              },
+                              'parent' => {},
+                              'source_info' => {
+                                'file_name' => '',
+                                'line_nr' => 15,
+                                'macro' => ''
+                              }
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'paragraph'
+                        },
+                        {
+                          'parent' => {},
+                          'text' => '
+',
+                          'type' => 'empty_line'
+                        },
+                        {
+                          'args' => [
+                            {
+                              'extra' => {
+                                'spaces_after_argument' => '
+'
+                              },
+                              'parent' => {},
+                              'type' => 'block_line_arg'
+                            }
+                          ],
+                          'cmdname' => 'quotation',
+                          'contents' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'In quotation
+'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'paragraph'
+                            },
+                            {
+                              'args' => [
+                                {
+                                  'contents' => [
+                                    {
+                                      'parent' => {},
+                                      'text' => 'q'
+                                    },
+                                    {
+                                      'args' => [
+                                        {
+                                          'parent' => {},
+                                          'type' => 'brace_command_arg'
+                                        }
+                                      ],
+                                      'cmdname' => 'asis',
+                                      'parent' => {},
+                                      'source_info' => {
+                                        'file_name' => '',
+                                        'line_nr' => 19,
+                                        'macro' => ''
+                                      }
+                                    },
+                                    {
+                                      'parent' => {},
+                                      'text' => 'uotation'
+                                    }
+                                  ],
+                                  'extra' => {
+                                    'spaces_after_argument' => '
+'
+                                  },
+                                  'parent' => {},
+                                  'type' => 'line_arg'
+                                }
+                              ],
+                              'cmdname' => 'end',
+                              'extra' => {
+                                'spaces_before_argument' => ' ',
+                                'text_arg' => 'quotation'
+                              },
+                              'parent' => {},
+                              'source_info' => {
+                                'file_name' => '',
+                                'line_nr' => 19,
+                                'macro' => ''
+                              }
+                            }
+                          ],
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 17,
+                            'macro' => ''
+                          }
+                        },
+                        {
+                          'parent' => {},
+                          'text' => '
+',
+                          'type' => 'empty_line'
+                        },
+                        {
+                          'args' => [
+                            {
+                              'extra' => {
+                                'spaces_after_argument' => '
+'
+                              },
+                              'parent' => {},
+                              'type' => 'block_line_arg'
+                            }
+                          ],
+                          'cmdname' => 'quotation',
+                          'contents' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'In quotation
+'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'paragraph'
+                            },
+                            {
+                              'args' => [
+                                {
+                                  'contents' => [
+                                    {
+                                      'parent' => {},
+                                      'text' => 'qu'
+                                    },
+                                    {
+                                      'args' => [
+                                        {
+                                          'parent' => {},
+                                          'type' => 'brace_command_arg'
+                                        }
+                                      ],
+                                      'cmdname' => 'asis',
+                                      'parent' => {},
+                                      'source_info' => {
+                                        'file_name' => '',
+                                        'line_nr' => 23,
+                                        'macro' => ''
+                                      }
+                                    },
+                                    {
+                                      'parent' => {},
+                                      'text' => 'otation'
+                                    }
+                                  ],
+                                  'extra' => {
+                                    'spaces_after_argument' => '
+'
+                                  },
+                                  'parent' => {},
+                                  'type' => 'line_arg'
+                                }
+                              ],
+                              'cmdname' => 'end',
+                              'extra' => {
+                                'spaces_before_argument' => ' ',
+                                'text_arg' => 'quotation'
+                              },
+                              'parent' => {},
+                              'source_info' => {
+                                'file_name' => '',
+                                'line_nr' => 23,
+                                'macro' => ''
+                              }
+                            }
+                          ],
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 21,
+                            'macro' => ''
+                          }
+                        },
+                        {
+                          'parent' => {},
+                          'text' => '
+',
+                          'type' => 'empty_line'
+                        },
+                        {
+                          'args' => [
+                            {
+                              'extra' => {
+                                'spaces_after_argument' => '
+'
+                              },
+                              'parent' => {},
+                              'type' => 'block_line_arg'
+                            }
+                          ],
+                          'cmdname' => 'quotation',
+                          'contents' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'In quotation
+'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'paragraph'
+                            },
+                            {
+                              'args' => [
+                                {
+                                  'contents' => [
+                                    {
+                                      'parent' => {},
+                                      'text' => 'quot'
+                                    },
+                                    {
+                                      'args' => [
+                                        {
+                                          'parent' => {},
+                                          'type' => 'brace_command_arg'
+                                        }
+                                      ],
+                                      'cmdname' => 'asis',
+                                      'parent' => {},
+                                      'source_info' => {
+                                        'file_name' => '',
+                                        'line_nr' => 27,
+                                        'macro' => ''
+                                      }
+                                    },
+                                    {
+                                      'parent' => {},
+                                      'text' => 'ation'
+                                    }
+                                  ],
+                                  'extra' => {
+                                    'spaces_after_argument' => '
+'
+                                  },
+                                  'parent' => {},
+                                  'type' => 'line_arg'
+                                }
+                              ],
+                              'cmdname' => 'end',
+                              'extra' => {
+                                'spaces_before_argument' => ' ',
+                                'text_arg' => 'quotation'
+                              },
+                              'parent' => {},
+                              'source_info' => {
+                                'file_name' => '',
+                                'line_nr' => 27,
+                                'macro' => ''
+                              }
+                            }
+                          ],
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 25,
+                            'macro' => ''
+                          }
+                        },
+                        {
+                          'parent' => {},
+                          'text' => '
+',
+                          'type' => 'empty_line'
+                        },
+                        {
+                          'args' => [
+                            {
+                              'extra' => {
+                                'spaces_after_argument' => '
+'
+                              },
+                              'parent' => {},
+                              'type' => 'block_line_arg'
+                            }
+                          ],
+                          'cmdname' => 'verbatim',
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'In verbatim
+',
+                              'type' => 'raw'
+                            },
+                            {
+                              'parent' => {},
+                              'text' => '@end verb@code{a}tim
+',
+                              'type' => 'raw'
+                            }
+                          ],
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 29,
+                            'macro' => ''
+                          }
+                        }
+                      ],
+                      'parent' => {},
+                      'source_info' => {
+                        'file_name' => '',
+                        'line_nr' => 13,
+                        'macro' => ''
+                      }
+                    }
+                  ],
+                  'parent' => {},
+                  'source_info' => {
+                    'file_name' => '',
+                    'line_nr' => 9,
+                    'macro' => ''
+                  }
+                }
+              ],
+              'parent' => {},
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 5,
+                'macro' => ''
+              }
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[3]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[4]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[5]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[6]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[7]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[8]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[8];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[8]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[8];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[8]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[8];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'contents'}[8]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'contents'}[2]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'contents'}[0]{'parent'} = 
$result_trees{'command_in_end'}{'contents'}[0];
+$result_trees{'command_in_end'}{'contents'}[0]{'parent'} = 
$result_trees{'command_in_end'};
+
+$result_texis{'command_in_end'} = '@quotation
+In quotation
+@end @code{quotation}
+
+@quotation
+In quotation
+@end q@code{uotation}
+
+@quotation
+In quotation
+@end qu@code{otation}
+
+@quotation
+In quotation
+@end quot@asis{atio}n
+
+@quotation
+In quotation
+@end q@asis{}uotation
+
+@quotation
+In quotation
+@end qu@asis{}otation
+
+@quotation
+In quotation
+@end quot@asis{}ation
+
+@verbatim
+In verbatim
+@end verb@code{a}tim
+';
+
+
+$result_texts{'command_in_end'} = 'In quotation
+
+In quotation
+
+In quotation
+
+In quotation
+
+In quotation
+
+In quotation
+
+In quotation
+
+In verbatim
+@end verb@code{a}tim
+';
+
+$result_errors{'command_in_end'} = [
+  {
+    'error_line' => 'bad argument to @end: @code{quotation}
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'bad argument to @end: @code{quotation}',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'warning: unknown @end q
+',
+    'file_name' => '',
+    'line_nr' => 7,
+    'macro' => '',
+    'text' => 'unknown @end q',
+    'type' => 'warning'
+  },
+  {
+    'error_line' => 'bad argument to @end: q@code{uotation}
+',
+    'file_name' => '',
+    'line_nr' => 7,
+    'macro' => '',
+    'text' => 'bad argument to @end: q@code{uotation}',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'warning: unknown @end qu
+',
+    'file_name' => '',
+    'line_nr' => 11,
+    'macro' => '',
+    'text' => 'unknown @end qu',
+    'type' => 'warning'
+  },
+  {
+    'error_line' => 'bad argument to @end: qu@code{otation}
+',
+    'file_name' => '',
+    'line_nr' => 11,
+    'macro' => '',
+    'text' => 'bad argument to @end: qu@code{otation}',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'warning: unknown @end quotn
+',
+    'file_name' => '',
+    'line_nr' => 15,
+    'macro' => '',
+    'text' => 'unknown @end quotn',
+    'type' => 'warning'
+  },
+  {
+    'error_line' => 'bad argument to @end: quot@asis{atio}n
+',
+    'file_name' => '',
+    'line_nr' => 15,
+    'macro' => '',
+    'text' => 'bad argument to @end: quot@asis{atio}n',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'superfluous argument to @end quotation: @asis{}uotation
+',
+    'file_name' => '',
+    'line_nr' => 19,
+    'macro' => '',
+    'text' => 'superfluous argument to @end quotation: @asis{}uotation',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'superfluous argument to @end quotation: @asis{}otation
+',
+    'file_name' => '',
+    'line_nr' => 23,
+    'macro' => '',
+    'text' => 'superfluous argument to @end quotation: @asis{}otation',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'superfluous argument to @end quotation: @asis{}ation
+',
+    'file_name' => '',
+    'line_nr' => 27,
+    'macro' => '',
+    'text' => 'superfluous argument to @end quotation: @asis{}ation',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end verbatim\'
+',
+    'file_name' => '',
+    'line_nr' => 31,
+    'macro' => '',
+    'text' => 'no matching `@end verbatim\'',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end quotation\'
+',
+    'file_name' => '',
+    'line_nr' => 31,
+    'macro' => '',
+    'text' => 'no matching `@end quotation\'',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end quotation\'
+',
+    'file_name' => '',
+    'line_nr' => 31,
+    'macro' => '',
+    'text' => 'no matching `@end quotation\'',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end quotation\'
+',
+    'file_name' => '',
+    'line_nr' => 31,
+    'macro' => '',
+    'text' => 'no matching `@end quotation\'',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end quotation\'
+',
+    'file_name' => '',
+    'line_nr' => 31,
+    'macro' => '',
+    'text' => 'no matching `@end quotation\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end'} = {};
+
+
+1;
diff --git a/tp/t/results/coverage/command_in_end_expanded_raw_command_after.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_command_after.pl
new file mode 100644
index 0000000000..e3ef5b36ee
--- /dev/null
+++ b/tp/t/results/coverage/command_in_end_expanded_raw_command_after.pl
@@ -0,0 +1,137 @@
+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{'command_in_end_expanded_raw_command_after'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'tex',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In TeX
+'
+                }
+              ],
+              'parent' => {},
+              'type' => 'rawpreformatted'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'tex'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'asis'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'asis',
+                      'parent' => {},
+                      'source_info' => {
+                        'file_name' => '',
+                        'line_nr' => 3,
+                        'macro' => ''
+                      }
+                    }
+                  ],
+                  'extra' => {
+                    'spaces_after_argument' => '
+'
+                  },
+                  'parent' => {},
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'spaces_before_argument' => ' ',
+                'text_arg' => 'tex'
+              },
+              'parent' => {},
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 3,
+                'macro' => ''
+              }
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_after'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_command_after'};
+
+$result_texis{'command_in_end_expanded_raw_command_after'} = '@tex
+In TeX
+@end tex@asis{asis}
+';
+
+
+$result_texts{'command_in_end_expanded_raw_command_after'} = '';
+
+$result_errors{'command_in_end_expanded_raw_command_after'} = [
+  {
+    'error_line' => 'superfluous argument to @end tex: @asis{asis}
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'superfluous argument to @end tex: @asis{asis}',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_expanded_raw_command_after'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_expanded_raw_command_empty_after.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_command_empty_after.pl
new file mode 100644
index 0000000000..a3988808d3
--- /dev/null
+++ b/tp/t/results/coverage/command_in_end_expanded_raw_command_empty_after.pl
@@ -0,0 +1,130 @@
+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{'command_in_end_expanded_raw_command_empty_after'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'tex',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In TeX
+'
+                }
+              ],
+              'parent' => {},
+              'type' => 'rawpreformatted'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'tex'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'asis',
+                      'parent' => {},
+                      'source_info' => {
+                        'file_name' => '',
+                        'line_nr' => 3,
+                        'macro' => ''
+                      }
+                    }
+                  ],
+                  'extra' => {
+                    'spaces_after_argument' => '
+'
+                  },
+                  'parent' => {},
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'spaces_before_argument' => ' ',
+                'text_arg' => 'tex'
+              },
+              'parent' => {},
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 3,
+                'macro' => ''
+              }
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_command_empty_after'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_command_empty_after'};
+
+$result_texis{'command_in_end_expanded_raw_command_empty_after'} = '@tex
+In TeX
+@end tex@asis{}
+';
+
+
+$result_texts{'command_in_end_expanded_raw_command_empty_after'} = '';
+
+$result_errors{'command_in_end_expanded_raw_command_empty_after'} = [
+  {
+    'error_line' => 'superfluous argument to @end tex: @asis{}
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'superfluous argument to @end tex: @asis{}',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_expanded_raw_command_empty_after'} = {};
+
+
+1;
diff --git a/tp/t/results/coverage/command_in_end_expanded_raw_in_command.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_in_command.pl
new file mode 100644
index 0000000000..33740045ee
--- /dev/null
+++ b/tp/t/results/coverage/command_in_end_expanded_raw_in_command.pl
@@ -0,0 +1,141 @@
+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{'command_in_end_expanded_raw_in_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'tex',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In TeX
+'
+                },
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'tex'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'brace_command_arg'
+                            }
+                          ],
+                          'cmdname' => 'code',
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 3,
+                            'macro' => ''
+                          }
+                        }
+                      ],
+                      'extra' => {
+                        'spaces_after_argument' => '
+'
+                      },
+                      'parent' => {},
+                      'type' => 'line_arg'
+                    }
+                  ],
+                  'cmdname' => 'end',
+                  'extra' => {
+                    'missing_argument' => 1,
+                    'spaces_before_argument' => ' '
+                  },
+                  'parent' => {},
+                  'source_info' => {
+                    'file_name' => '',
+                    'line_nr' => 3,
+                    'macro' => ''
+                  }
+                }
+              ],
+              'parent' => {},
+              'type' => 'rawpreformatted'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_in_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_in_command'};
+
+$result_texis{'command_in_end_expanded_raw_in_command'} = '@tex
+In TeX
+@end @code{tex}
+';
+
+
+$result_texts{'command_in_end_expanded_raw_in_command'} = '';
+
+$result_errors{'command_in_end_expanded_raw_in_command'} = [
+  {
+    'error_line' => 'bad argument to @end: @code{tex}
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'bad argument to @end: @code{tex}',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end tex\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end tex\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_expanded_raw_in_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_expanded_raw_one_char_before_command.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_one_char_before_command.pl
new file mode 100644
index 0000000000..39769066af
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_expanded_raw_one_char_before_command.pl
@@ -0,0 +1,135 @@
+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{'command_in_end_expanded_raw_one_char_before_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'tex',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In TeX
+'
+                }
+              ],
+              'parent' => {},
+              'type' => 'rawpreformatted'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 't'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'asis',
+                      'parent' => {},
+                      'source_info' => {
+                        'file_name' => '',
+                        'line_nr' => 3,
+                        'macro' => ''
+                      }
+                    },
+                    {
+                      'parent' => {},
+                      'text' => 'ex'
+                    }
+                  ],
+                  'extra' => {
+                    'spaces_after_argument' => '
+'
+                  },
+                  'parent' => {},
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'spaces_before_argument' => ' ',
+                'text_arg' => 'tex'
+              },
+              'parent' => {},
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 3,
+                'macro' => ''
+              }
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_before_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_one_char_before_command'};
+
+$result_texis{'command_in_end_expanded_raw_one_char_before_command'} = '@tex
+In TeX
+@end t@asis{}ex
+';
+
+
+$result_texts{'command_in_end_expanded_raw_one_char_before_command'} = '';
+
+$result_errors{'command_in_end_expanded_raw_one_char_before_command'} = [
+  {
+    'error_line' => 'superfluous argument to @end tex: @asis{}ex
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'superfluous argument to @end tex: @asis{}ex',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_expanded_raw_one_char_before_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_expanded_raw_one_char_not_in_command.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_one_char_not_in_command.pl
new file mode 100644
index 0000000000..b3e120ff28
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_expanded_raw_one_char_not_in_command.pl
@@ -0,0 +1,155 @@
+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{'command_in_end_expanded_raw_one_char_not_in_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'tex',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In TeX
+'
+                },
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => 't'
+                        },
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'ex'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'brace_command_arg'
+                            }
+                          ],
+                          'cmdname' => 'asis',
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 3,
+                            'macro' => ''
+                          }
+                        }
+                      ],
+                      'extra' => {
+                        'spaces_after_argument' => '
+'
+                      },
+                      'parent' => {},
+                      'type' => 'line_arg'
+                    }
+                  ],
+                  'cmdname' => 'end',
+                  'extra' => {
+                    'spaces_before_argument' => ' ',
+                    'text_arg' => 't'
+                  },
+                  'parent' => {},
+                  'source_info' => {
+                    'file_name' => '',
+                    'line_nr' => 3,
+                    'macro' => ''
+                  }
+                }
+              ],
+              'parent' => {},
+              'type' => 'rawpreformatted'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_one_char_not_in_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_one_char_not_in_command'};
+
+$result_texis{'command_in_end_expanded_raw_one_char_not_in_command'} = '@tex
+In TeX
+@end t@asis{ex}
+';
+
+
+$result_texts{'command_in_end_expanded_raw_one_char_not_in_command'} = '';
+
+$result_errors{'command_in_end_expanded_raw_one_char_not_in_command'} = [
+  {
+    'error_line' => 'warning: unknown @end t
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'unknown @end t',
+    'type' => 'warning'
+  },
+  {
+    'error_line' => 'bad argument to @end: t@asis{ex}
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'bad argument to @end: t@asis{ex}',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end tex\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end tex\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_expanded_raw_one_char_not_in_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_expanded_raw_two_char_before_command.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_two_char_before_command.pl
new file mode 100644
index 0000000000..d4c0a25564
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_expanded_raw_two_char_before_command.pl
@@ -0,0 +1,135 @@
+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{'command_in_end_expanded_raw_two_char_before_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'tex',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In TeX
+'
+                }
+              ],
+              'parent' => {},
+              'type' => 'rawpreformatted'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'te'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'asis',
+                      'parent' => {},
+                      'source_info' => {
+                        'file_name' => '',
+                        'line_nr' => 3,
+                        'macro' => ''
+                      }
+                    },
+                    {
+                      'parent' => {},
+                      'text' => 'x'
+                    }
+                  ],
+                  'extra' => {
+                    'spaces_after_argument' => '
+'
+                  },
+                  'parent' => {},
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'spaces_before_argument' => ' ',
+                'text_arg' => 'tex'
+              },
+              'parent' => {},
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 3,
+                'macro' => ''
+              }
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_before_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_two_char_before_command'};
+
+$result_texis{'command_in_end_expanded_raw_two_char_before_command'} = '@tex
+In TeX
+@end te@asis{}x
+';
+
+
+$result_texts{'command_in_end_expanded_raw_two_char_before_command'} = '';
+
+$result_errors{'command_in_end_expanded_raw_two_char_before_command'} = [
+  {
+    'error_line' => 'superfluous argument to @end tex: @asis{}x
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'superfluous argument to @end tex: @asis{}x',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_expanded_raw_two_char_before_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_expanded_raw_two_char_not_in_command.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_two_char_not_in_command.pl
new file mode 100644
index 0000000000..124fd33903
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_expanded_raw_two_char_not_in_command.pl
@@ -0,0 +1,155 @@
+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{'command_in_end_expanded_raw_two_char_not_in_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'tex',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'In TeX
+'
+                },
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => 'te'
+                        },
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'x'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'brace_command_arg'
+                            }
+                          ],
+                          'cmdname' => 'asis',
+                          'parent' => {},
+                          'source_info' => {
+                            'file_name' => '',
+                            'line_nr' => 3,
+                            'macro' => ''
+                          }
+                        }
+                      ],
+                      'extra' => {
+                        'spaces_after_argument' => '
+'
+                      },
+                      'parent' => {},
+                      'type' => 'line_arg'
+                    }
+                  ],
+                  'cmdname' => 'end',
+                  'extra' => {
+                    'spaces_before_argument' => ' ',
+                    'text_arg' => 'te'
+                  },
+                  'parent' => {},
+                  'source_info' => {
+                    'file_name' => '',
+                    'line_nr' => 3,
+                    'macro' => ''
+                  }
+                }
+              ],
+              'parent' => {},
+              'type' => 'rawpreformatted'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0];
+$result_trees{'command_in_end_expanded_raw_two_char_not_in_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_expanded_raw_two_char_not_in_command'};
+
+$result_texis{'command_in_end_expanded_raw_two_char_not_in_command'} = '@tex
+In TeX
+@end te@asis{x}
+';
+
+
+$result_texts{'command_in_end_expanded_raw_two_char_not_in_command'} = '';
+
+$result_errors{'command_in_end_expanded_raw_two_char_not_in_command'} = [
+  {
+    'error_line' => 'warning: unknown @end te
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'unknown @end te',
+    'type' => 'warning'
+  },
+  {
+    'error_line' => 'bad argument to @end: te@asis{x}
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'bad argument to @end: te@asis{x}',
+    'type' => 'error'
+  },
+  {
+    'error_line' => 'no matching `@end tex\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end tex\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_expanded_raw_two_char_not_in_command'} = {};
+
+
+1;
diff --git a/tp/t/results/coverage/command_in_end_ignored_raw_command_after.pl 
b/tp/t/results/coverage/command_in_end_ignored_raw_command_after.pl
new file mode 100644
index 0000000000..4939292343
--- /dev/null
+++ b/tp/t/results/coverage/command_in_end_ignored_raw_command_after.pl
@@ -0,0 +1,128 @@
+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{'command_in_end_ignored_raw_command_after'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'html',
+          'contents' => [
+            {
+              'parent' => {},
+              'type' => 'elided_block'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'html'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'asis'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'asis',
+                      'parent' => {},
+                      'source_info' => {
+                        'file_name' => '',
+                        'line_nr' => 3,
+                        'macro' => ''
+                      }
+                    }
+                  ],
+                  'extra' => {
+                    'spaces_after_argument' => '
+'
+                  },
+                  'parent' => {},
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'spaces_before_argument' => ' ',
+                'text_arg' => 'html'
+              },
+              'parent' => {},
+              'source_info' => {
+                'file_name' => '',
+                'line_nr' => 3,
+                'macro' => ''
+              }
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_command_after'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_command_after'};
+
+$result_texis{'command_in_end_ignored_raw_command_after'} = '@html
+@end html@asis{asis}
+';
+
+
+$result_texts{'command_in_end_ignored_raw_command_after'} = '';
+
+$result_errors{'command_in_end_ignored_raw_command_after'} = [
+  {
+    'error_line' => 'superfluous argument to @end html: @asis{asis}
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'superfluous argument to @end html: @asis{asis}',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_ignored_raw_command_after'} = {};
+
+
+1;
diff --git a/tp/t/results/coverage/command_in_end_ignored_raw_in_command.pl 
b/tp/t/results/coverage/command_in_end_ignored_raw_in_command.pl
new file mode 100644
index 0000000000..4c7d585179
--- /dev/null
+++ b/tp/t/results/coverage/command_in_end_ignored_raw_in_command.pl
@@ -0,0 +1,77 @@
+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{'command_in_end_ignored_raw_in_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'html',
+          'contents' => [
+            {
+              'parent' => {},
+              'type' => 'elided_block'
+            },
+            {
+              'parent' => {},
+              'text' => '',
+              'type' => 'empty_line'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_in_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_in_command'};
+
+$result_texis{'command_in_end_ignored_raw_in_command'} = '@html
+';
+
+
+$result_texts{'command_in_end_ignored_raw_in_command'} = '';
+
+$result_errors{'command_in_end_ignored_raw_in_command'} = [
+  {
+    'error_line' => 'no matching `@end html\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end html\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_ignored_raw_in_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_ignored_raw_one_char_before_command.pl 
b/tp/t/results/coverage/command_in_end_ignored_raw_one_char_before_command.pl
new file mode 100644
index 0000000000..666c5b36ee
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_ignored_raw_one_char_before_command.pl
@@ -0,0 +1,77 @@
+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{'command_in_end_ignored_raw_one_char_before_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'html',
+          'contents' => [
+            {
+              'parent' => {},
+              'type' => 'elided_block'
+            },
+            {
+              'parent' => {},
+              'text' => '',
+              'type' => 'empty_line'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_before_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_one_char_before_command'};
+
+$result_texis{'command_in_end_ignored_raw_one_char_before_command'} = '@html
+';
+
+
+$result_texts{'command_in_end_ignored_raw_one_char_before_command'} = '';
+
+$result_errors{'command_in_end_ignored_raw_one_char_before_command'} = [
+  {
+    'error_line' => 'no matching `@end html\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end html\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_ignored_raw_one_char_before_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_ignored_raw_one_char_not_in_command.pl 
b/tp/t/results/coverage/command_in_end_ignored_raw_one_char_not_in_command.pl
new file mode 100644
index 0000000000..7dfbcfca9c
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_ignored_raw_one_char_not_in_command.pl
@@ -0,0 +1,77 @@
+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{'command_in_end_ignored_raw_one_char_not_in_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'html',
+          'contents' => [
+            {
+              'parent' => {},
+              'type' => 'elided_block'
+            },
+            {
+              'parent' => {},
+              'text' => '',
+              'type' => 'empty_line'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_one_char_not_in_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_one_char_not_in_command'};
+
+$result_texis{'command_in_end_ignored_raw_one_char_not_in_command'} = '@html
+';
+
+
+$result_texts{'command_in_end_ignored_raw_one_char_not_in_command'} = '';
+
+$result_errors{'command_in_end_ignored_raw_one_char_not_in_command'} = [
+  {
+    'error_line' => 'no matching `@end html\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end html\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_ignored_raw_one_char_not_in_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_ignored_raw_two_char_before_command.pl 
b/tp/t/results/coverage/command_in_end_ignored_raw_two_char_before_command.pl
new file mode 100644
index 0000000000..567986c9f7
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_ignored_raw_two_char_before_command.pl
@@ -0,0 +1,77 @@
+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{'command_in_end_ignored_raw_two_char_before_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'html',
+          'contents' => [
+            {
+              'parent' => {},
+              'type' => 'elided_block'
+            },
+            {
+              'parent' => {},
+              'text' => '',
+              'type' => 'empty_line'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_before_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_two_char_before_command'};
+
+$result_texis{'command_in_end_ignored_raw_two_char_before_command'} = '@html
+';
+
+
+$result_texts{'command_in_end_ignored_raw_two_char_before_command'} = '';
+
+$result_errors{'command_in_end_ignored_raw_two_char_before_command'} = [
+  {
+    'error_line' => 'no matching `@end html\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end html\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_ignored_raw_two_char_before_command'} = {};
+
+
+1;
diff --git 
a/tp/t/results/coverage/command_in_end_ignored_raw_two_char_not_in_command.pl 
b/tp/t/results/coverage/command_in_end_ignored_raw_two_char_not_in_command.pl
new file mode 100644
index 0000000000..3df7cfa783
--- /dev/null
+++ 
b/tp/t/results/coverage/command_in_end_ignored_raw_two_char_not_in_command.pl
@@ -0,0 +1,77 @@
+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{'command_in_end_ignored_raw_two_char_not_in_command'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'extra' => {
+                'spaces_after_argument' => '
+'
+              },
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'html',
+          'contents' => [
+            {
+              'parent' => {},
+              'type' => 'elided_block'
+            },
+            {
+              'parent' => {},
+              'text' => '',
+              'type' => 'empty_line'
+            }
+          ],
+          'parent' => {},
+          'source_info' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          }
+        }
+      ],
+      'parent' => {},
+      'type' => 'before_node_section'
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0];
+$result_trees{'command_in_end_ignored_raw_two_char_not_in_command'}{'contents'}[0]{'parent'}
 = $result_trees{'command_in_end_ignored_raw_two_char_not_in_command'};
+
+$result_texis{'command_in_end_ignored_raw_two_char_not_in_command'} = '@html
+';
+
+
+$result_texts{'command_in_end_ignored_raw_two_char_not_in_command'} = '';
+
+$result_errors{'command_in_end_ignored_raw_two_char_not_in_command'} = [
+  {
+    'error_line' => 'no matching `@end html\'
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'no matching `@end html\'',
+    'type' => 'error'
+  }
+];
+
+
+$result_floats{'command_in_end_ignored_raw_two_char_not_in_command'} = {};
+
+
+1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]