Skip to content

Commit

Permalink
Missed a spot. Highlight the whole line.
Browse files Browse the repository at this point in the history
  • Loading branch information
calculuswhiz committed Feb 8, 2015
1 parent c689363 commit ba43860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assembly x86 AT&T.JSON-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"match": "(?<!\\w)(#(#|include|define|undef|if|ifn?def|else|elsif|endif|pragma|warning))|__(FILE|LINE|DATE|TIME(STAMP)?|STDC_(VERSION|HOSTED)?|GNUC|GNUC_MINOR|GNUC_PATCHLEVEL|VERSION|STRICT_ANSI|BASE_FILE|INCLUDE_LEVEL|OPTIMIZE|OPTIMIZE_SIZE|NO_INLINE|CHAR_UNSIGNED|CHAR_BIT|INT_SHORT|SCHAR_MAX|SHRT_MAX|INT_MAX|LONG_MAX|LONG_LONG_MAX|REGISTER_PREFIX|USER_LABEL_PREFIX)__\\b"
},
{ "name": "invalid.warnings",
"match": "(?<!\\w)(#\\s+(#|include|define|undef|if|ifn?def|else|elsif|endif|pragma|warning))\\b"
"match": "(?<!\\w)(#\\s+(#|include|define|undef|if|ifn?def|else|elsif|endif|pragma|warning).*)\\b"
},
{
"name": "comment.assembly",
Expand Down
2 changes: 1 addition & 1 deletion Assembly x86 AT&T.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;!\w)(#\s+(#|include|define|undef|if|ifn?def|else|elsif|endif|pragma|warning))\b</string>
<string>(?&lt;!\w)(#\s+(#|include|define|undef|if|ifn?def|else|elsif|endif|pragma|warning).*)\b</string>
<key>name</key>
<string>invalid.warnings</string>
</dict>
Expand Down

0 comments on commit ba43860

Please sign in to comment.