Home Download Buy Blog Forum Support

new syntax definiton file - need help!

Re: new syntax definiton file - need help!

Postby agibsonsw on Tue Dec 11, 2012 12:41 am

<key>coment</key>
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: new syntax definiton file - need help!

Postby agibsonsw on Tue Dec 11, 2012 12:48 am

You have an unmatched bracket ) at the end of your regex:

Code: Select all
<dict>
    <key>name</key><string>comment.stack.Forth</string>
    <key>match></key><string>(?&lt;=^|\s)(\(\s[^)]*\))(?=\s|$))</string>
</dict>
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: new syntax definiton file - need help!

Postby agibsonsw on Tue Dec 11, 2012 1:29 pm

I assume you corrected the spelling of coment? ok..well, thanks

I seem to recall that it is possible to split language definitions into separate files with, I think, one file including a reference to the other - but I may be wrong.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm


Return to Plugin Development

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests