Permalink
Browse files

Markup “NotFound” as false value even when used without prefix.

git-svn-id: http://svn.textmate.org/trunk/Review/Bundles/CMake.tmbundle@11676 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 1274777 commit 8afe10cdbfe7f45dca18ff846bdc72d71a4d9777 @sorbits sorbits committed Jun 21, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 Syntaxes/CMake Listfile.tmLanguage
@@ -152,7 +152,7 @@
<key>constants</key>
<dict>
<key>match</key>
- <string>(?i)\b(FALSE|OFF|NO|\w+-NOTFOUND)\b</string>
+ <string>(?i)\b(FALSE|OFF|NO|(\w+-)?NOTFOUND)\b</string>
<key>name</key>
<string>constant.language.boolean.cmake</string>
</dict>
@@ -208,7 +208,7 @@
</dict>
</dict>
<key>match</key>
- <string>(?i)"(FALSE|OFF|NO|.+-NOTFOUND)"</string>
+ <string>(?i)"(FALSE|OFF|NO|(.+-)?NOTFOUND)"</string>
<key>name</key>
<string>string.quoted.double.cmake</string>
</dict>

0 comments on commit 8afe10c

Please sign in to comment.