Shlomi Fish avatar Shlomi Fish committed 8815aee

Fix pluralisation.

Comments (0)

Files changed (1)

perl/modules/XML-Grammar-Fiction/lib/XML/Grammar/FictionBase/FromProto/Parser/XmlIterator.pm

     {
         '_push_tag' => 'push',
         '_grep_tags_stack' => 'grep',
-        '_tag_stack_is_empty' => 'is_empty',
+        '_tags_stack_is_empty' => 'is_empty',
         '_pop_tag' => 'pop',
         '_get_tag' => 'get',
     },
     return $self->_tags_stack->[$idx];
 }
 
-sub _tag_stack_is_empty
+sub _tags_stack_is_empty
 {
     my $self = shift;
 
 {
     my $self = shift;
 
-    if ($self->_tag_stack_is_empty())
+    if ($self->_tags_stack_is_empty())
     {
         $self->throw_text_error(
             'XML::Grammar::Fiction::Err::Parse::CannotMatchOpeningTag',
             $self->_new_list($open_tag->detach_children()),
         );
 
-    if (! $self->_tag_stack_is_empty())
+    if (! $self->_tags_stack_is_empty())
     {
         $self->_add_to_top_tag($new_elem);
         return;
 
     if ($self->eof() && $self->_no_events())
     {
-        if (! $self->_tag_stack_is_empty() )
+        if (! $self->_tags_stack_is_empty() )
         {
             XML::Grammar::Fiction::Err::Parse::TagNotClosedAtEOF->throw(
                 error => "Tag not closed at EOF.",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.