Line comments don't start immediately after non-whitespace characters.

This commit is contained in:
Yevgen Muntyan 2010-01-17 00:51:56 -08:00
parent 959a4fd4db
commit 2e455c86ce
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@
<!-- A line comment starting with # -->
<context id="shell-like-comment" style-ref="comment" end-at-line-end="true">
<start>#</start>
<start>(?&lt;!\S)#</start>
<include>
<context ref="in-comment"/>
</include>

View File

@ -39,7 +39,7 @@
<definitions>
<context id="line-comment" style-ref="comment" end-at-line-end="true">
<start>;</start>
<start>(?&lt;!\S);</start>
</context>
<context id="group" style-ref="keyword">
<start>^\[</start>