Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
mirrored from vscode-pawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Southclaws committed Jun 15, 2018
1 parent cd63ca7 commit 93bb433
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Pawn.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
| # or type modifier / closing bracket before name
(?<= [^&]& | [*>)}\]] ) ) \s*
( (?: [A-Za-z_]\w*+ | ::[^:] )++
( (?: [A-Za-z_@]\w*+ | ::[^:] )++
(?: (?<= ^ operator | \W operator ) # C++ operator?
(?: [-*&<>=+!]+ | \(\) | \[\] ) )? )
Expand Down Expand Up @@ -203,7 +203,7 @@
| # or type modifier / closing bracket before name
(?<= [^&]& | [*>)}\]\:] ) ) \s*
( (?: [A-Za-z_]\w*+ | ::[^:] )++
( (?: [A-Za-z_@]\w*+ | ::[^:] )++
(?: (?<= ^ operator | \W operator ) # C++ operator?
(?: [-*&<>=+!]+ | \(\) | \[\] ) )? )
Expand Down Expand Up @@ -233,19 +233,19 @@
<string>(?x)
\s*
(?= # don't consume to recognize support functions
(?: [A-Za-z_]\w*+ | ::[^:] )++
(?: [A-Za-z_@]\w*+ | ::[^:] )++
(?:\s|/\*.*?\*/)*+ \( )
</string>
<key>end</key> <string>\)</string>
<key>patterns</key>
<array>
<dict> <key>include</key> <string>#lex</string> </dict>
<dict>
<key>match</key> <string>(?:(?&lt;=\.)|(?&lt;=-&gt;))\b([A-Za-z_]\w*+)\b</string>
<key>match</key> <string>(?:(?&lt;=\.)|(?&lt;=-&gt;))\b([A-Za-z_@]\w*+)\b</string>
<key>name</key> <string>variable.other.dot-access.c support.function.any-method.c</string>
</dict>
<dict>
<key>match</key> <string>(?:[A-Za-z_]\w*+|::[^:])++</string>
<key>match</key> <string>(?:[A-Za-z_@]\w*+|::[^:])++</string>
<key>name</key> <string>support.function.any-method.c</string>
</dict>
<dict> <key>include</key> <string>#parens-lookahead-end</string> </dict>
Expand Down

0 comments on commit 93bb433

Please sign in to comment.