[TxMt] Re: Why didn't parsed this ?
Allan Odgaard
mailinglist at textmate.org
Tue Nov 15 09:59:03 UTC 2011
On 14 Nov 2011, at 08:51, baek jeongun wrote:
> Why didn't parsed this ? […]
The grammar is made to parse blocks ({ … }) to track the context (namespace, function, member function, Objective-C interface/method, etc.) and it additionally parses if/end blocks to e.g. render “#if 0” blocks as disabled (or the “#else” branch of a “#if 01”).
Your code has an if/endif block overlap with a brace block, which is why the parser gets confused.
More information about the textmate
mailing list