mirror of
https://github.com/textmate/textmate.git
synced 2026-01-14 17:28:05 -05:00
Incase our index is out-of-date and we try to load and parse a grammar that does not exist on disk, we would get a grammar_t with a “null” root rule, this would later crash when trying to use the grammar. As a simple fix we now ensure a dummy rule always exist.