[TxMt] language grammar question

Sean T Allen sean at monkeysnatchbanana.com
Tue Nov 29 07:28:12 UTC 2011


I'm trying to do a language grammar where i would do something like 

xxx start special section

lots of stuff
.. more stuff...
.. more stuff...

and have

repository = {
  special = {
    name = 'punctuation.section.special';
    begin = '^xxx start special section';
    end = '<END OF FILE>';
  };
};

Is there a way to have an end rule of 'the end of the file'?

Thanks,
Sean

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20111129/4182579c/attachment.html>


More information about the textmate mailing list