Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small fix in core language, type declarations terminate properly

git-svn-id: http://svn.textmate.org/trunk/Bundles/Standard ML.tmbundle@8082 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 20d49ed3f28196a50502b4fcda141d2466d2ef83 1 parent 60ef2be
@commonlisp commonlisp authored
Showing with 3 additions and 10 deletions.
  1. +3 −10 Syntaxes/Standard ML.plist
View
13 Syntaxes/Standard ML.plist
@@ -194,7 +194,7 @@
</dict>
<dict>
<key>begin</key>
- <string>\s*(type|eqtype) .* =</string>
+ <string>\b(eqtype|type)\s+([a-zA-Z][a-zA-Z0-9'_]*)\s+=</string>
<key>captures</key>
<dict>
<key>1</key>
@@ -209,18 +209,11 @@
</dict>
</dict>
<key>end</key>
- <string>$</string>
+ <string>(?=end|fun|structure|functor|val|type|eqtype)</string>
<key>name</key>
<string>meta.typeabbrev.ml</string>
<key>patterns</key>
- <array>
- <dict>
- <key>match</key>
- <string>(([a-zA-Z0-9\.\* ]|(\-&gt;))*)</string>
- <key>name</key>
- <string>meta.typeexp.ml</string>
- </dict>
- </array>
+ <array/>
</dict>
</array>
<key>repository</key>
Please sign in to comment.
Something went wrong with that request. Please try again.