Skip to content

Commit

Permalink
Remove extra escape characters.
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanmailloux committed Mar 2, 2015
1 parent 65e8cc6 commit 7f52859
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Syntaxes/MIT_Alloy.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ patterns:
# Comments
- comment: Block comment
name: comment.block
begin: \/\*
end: \*\/
begin: /\*
end: \*/

- comment: Line comment
name: comment.double-slash
match: \/\/.*$
match: //.*$

- comment: Line comment
name: comment.double-dash
match: \-\-.*$
match: --.*$

# Invalids
- comment: Invalid characters
Expand Down
8 changes: 4 additions & 4 deletions Syntaxes/MIT_Alloy.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@
<array>
<dict>
<key>begin</key>
<string>\/\*</string>
<string>/\*</string>
<key>comment</key>
<string>Block comment</string>
<key>end</key>
<string>\*\/</string>
<string>\*/</string>
<key>name</key>
<string>comment.block</string>
</dict>
<dict>
<key>comment</key>
<string>Line comment</string>
<key>match</key>
<string>\/\/.*$</string>
<string>//.*$</string>
<key>name</key>
<string>comment.double-slash</string>
</dict>
<dict>
<key>comment</key>
<string>Line comment</string>
<key>match</key>
<string>\-\-.*$</string>
<string>--.*$</string>
<key>name</key>
<string>comment.double-dash</string>
</dict>
Expand Down

0 comments on commit 7f52859

Please sign in to comment.