Skip to content

Commit

Permalink
lexers: support for nim GENERALIZED_TRIPLESTR_LIT (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinefjord authored Sep 19, 2023
1 parent 94d11ab commit 0b08639
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lexers/embedded/nim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@
<rule pattern="\.\.|\.|,|\[\.|\.\]|\{\.|\.\}|\(\.|\.\)|\{|\}|\(|\)|:|\^|`|;">
<token type="Punctuation"/>
</rule>
<rule pattern="(?:[\w]+)&#34;&#34;&#34;">
<token type="LiteralString"/>
<push state="tdqs"/>
</rule>
<rule pattern="(?:[\w]+)&#34;">
<token type="LiteralString"/>
<push state="rdqs"/>
Expand Down

0 comments on commit 0b08639

Please sign in to comment.