Open maxbrunsfeld opened 4 years ago
These two rules contain a patterns property, but no end property:
patterns
end
https://github.com/cdibbs/language-jison/blob/7b43e22b09775c8e6424cbf937f2fe34a848f1f5/grammars/jison.cson#L35
https://github.com/cdibbs/language-jison/blob/7b43e22b09775c8e6424cbf937f2fe34a848f1f5/grammars/jison.cson#L39
These rules are not valid, because they cause the highlighter to push a new rule onto its stack which can never be popped off.
GitHub's engine used to allow this, but now it does not. See also https://github.com/textmate/textmate/pull/1437.
@maxbrunsfeld Thanks for getting to the bottom of this!
These two rules contain a
patterns
property, but noend
property:https://github.com/cdibbs/language-jison/blob/7b43e22b09775c8e6424cbf937f2fe34a848f1f5/grammars/jison.cson#L35
https://github.com/cdibbs/language-jison/blob/7b43e22b09775c8e6424cbf937f2fe34a848f1f5/grammars/jison.cson#L39
These rules are not valid, because they cause the highlighter to push a new rule onto its stack which can never be popped off.
GitHub's engine used to allow this, but now it does not. See also https://github.com/textmate/textmate/pull/1437.