[TxMt] C functions not getting tagged correctly?
Allan Odgaard
throw-away-2 at macromates.com
Thu Oct 25 03:52:42 UTC 2007
On 25/10/2007, at 04:33, Matt Fago wrote:
> [...]
> What is the WIP branch (Work In Progress?), and when is the plan to
> merge this bundle into the trunk, or why hasn't it been (just
> curious)?
It is “Work in Progress”, yes.
The WIP C/C++ grammar is matching the full structure of your source
code, there are 3 “concerns”:
1. It is more fragile (since an unforeseen or wrongly matched
structure can throw it off).
2. It is somewhat slower than the regular grammar.
3. It doesn’t have as good support for the #if 0/1 … #else … #endif
as the original grammar (since that structure is orthogonal with the
structure of the actual C/C++ code).
Number 1 just means it needs testing to the point where I am confident
it works :)
As for #2 and #3, for #2 we can only wait for TM 2.0 to really get
that addressed and #3 either requires a lot of duplication in the
grammar or also that we wait for TM 2.0 -- but as there is no ETA on
TM 2.0, the question is if the demand for the improvements outweigh
the tradeoffs, we haven’t really decided that, in the end I guess it
is my call, and I am thinking we should make it trunk maybe in 1-2
months.
More information about the textmate
mailing list