Skip to content

Commit

Permalink
Match comments in preprocessor lines
Browse files Browse the repository at this point in the history
  • Loading branch information
morganwillcock committed Nov 10, 2023
1 parent d749fa3 commit a427eef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syntax/ags.xml
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,8 @@
</context>

<context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop">
<Detect2Chars char="/" char1="/" attribute="Comment" context="#pop!LineComment"/>
<Detect2Chars char="/" char1="*" attribute="Comment" context="#pop!BlockComment"/>
</context>

<context name="DotProperty" lineEndContext="#stay">
Expand Down

0 comments on commit a427eef

Please sign in to comment.