Skip to content

Commit

Permalink
Parse raw string call syntax correctly (nim-lang#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlaaf authored and Varriount committed Nov 3, 2018
1 parent fd41341 commit 900053c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/Nim.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ patterns:

- comment: (Raw) Triple Quoted String
name: string.quoted.triple.nim
begin: r?\"\"\"
begin: \w*\"\"\"
end: \"\"\"[^\"]

- comment: Raw Double Quoted String
name: string.quoted.double.raw.nim
begin: r\"
begin: \w+\"
end: \"
patterns:
- match: \"\"
Expand Down
4 changes: 2 additions & 2 deletions Syntaxes/Nim.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@
</dict>
<dict>
<key>begin</key>
<string>r?\"\"\"</string>
<string>\w*\"\"\"</string>
<key>comment</key>
<string>(Raw) Triple Quoted String</string>
<key>end</key>
Expand All @@ -709,7 +709,7 @@
</dict>
<dict>
<key>begin</key>
<string>r\"</string>
<string>\w+\"</string>
<key>comment</key>
<string>Raw Double Quoted String</string>
<key>end</key>
Expand Down

0 comments on commit 900053c

Please sign in to comment.