Now what context this bit of grammar is really for I don't know. From what I can see the other examples I gave don't use above. Perhaps the original author of this grammar can shed light on this and make the proper changes.
I guess I am the original author, though I haven't worked on it for a while (not since my kids were born!). The svn blame for this piece of the grammar goes to gerti, duff and msheets.
Let me say that if we as a Textmate community really want to have distributed editing of these grammars, then we should develop a set of test cases to check if our grammar edits break anything. Maybe one or two documents with a .png of the correct highlighting using a default color scheme.
best wishes, Eric
-- Eric Hsu, Associate Professor of Mathematics San Francisco State University http://math.sfsu.edu/hsu erichsu@math.sfsu.edu
On 6 Jun 2008, at 17:41, Eric Hsu wrote:
[...] Let me say that if we as a Textmate community really want to have distributed editing of these grammars, then we should develop a set of test cases to check if our grammar edits break anything. Maybe one or two documents with a .png of the correct highlighting using a default color scheme.
I will provide a CLI interface to the TextMate parser in the future, that way we can fully automate such testing. And yes, it really should be sort of a requisite then, to include tests with the grammars :)