* tp/Texinfo/ParserNonXS.pm (_is_index_element): use
index_entry_commands instead of command_index.

* tp/Texinfo/ParserNonXS.pm (simple_parser): do not set simple parser
state hash reference if they are not used at all (for indices), or set
directly to the default hashes if it is sure that they won't be
modified.
2 files changed