Renamed sh:line-comment to sh:comment, added m4-comment, the comment starting with dnl

master
Yevgen Muntyan 2006-09-06 12:51:04 -05:00
parent 248d8dbc61
commit 04b000da6f
2 changed files with 9 additions and 3 deletions

View File

@ -2,12 +2,18 @@
<language id="m4" _name="m4" _section="Scripts" version="2.0"
mimetypes="application/x-m4" globs="*.m4;configure.in;configure.ac">
<styles>
<style id="ps" name="ps" map-to="def:keyword"/>
<style id="m4-comment" name="m4-comment" map-to="sh:comment"/>
</styles>
<definitions>
<context id="m4">
<include>
<context id="m4-comment" style-ref="m4-comment" end-at-line-end="true">
<start>dnl</start>
<include>
<context ref="sh:comment:*"/>
</include>
</context>
<context ref="sh:sh:*"/>
</include>
</context>

View File

@ -58,7 +58,7 @@
<context ref="generated-line-escape"/>
</include>
</context>
<context id="line-comment" style-ref="comment" end-at-line-end="true">
<context id="comment" style-ref="comment" end-at-line-end="true">
<start>#</start>
<include>
<context ref="generated-escape"/>
@ -295,7 +295,7 @@
<context ref="string"/>
<context ref="string-2"/>
<context ref="backtick-string"/>
<context ref="line-comment"/>
<context ref="comment"/>
<context ref="punctuator"/>
<context ref="function"/>
<context ref="redirection"/>