<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : ending a multi-line comment at end-of-file</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : ending a multi-line comment at end-of-file]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 02:03:51 +0000</pubDate>
  <lastBuildDate>Fri, 15 Aug 2014 15:10:50 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=22388</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[ending a multi-line comment at end-of-file : Hi,Is it possible to end a multi-line...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22388&amp;PID=72723&amp;title=ending-a-multiline-comment-at-endoffile#72723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8748">brian</a><br /><strong>Subject:</strong> 22388<br /><strong>Posted:</strong> 15 August 2014 at 3:10pm<br /><br />Hi,<br /><br />Is it possible to end a multi-line comment block at an end of file?  Something like @eof, but there's nothing like this in the documentation that I've seen.  Without a matching end tag, our application is not able to collapse the block.<br /><br />In our syntax, # denotes single-line comments and .DATA OFF and .DATA ON start and end multi line comments.<br /><br />For example:<br /><table width="99%"><tr><td><pre class="BBcode">.DATA OFF<br />#this multi-line comment collapses as expected<br />.DATA ON<br />.DATA OFF<br />#this multi-line comment cannot collapse</pre></td></tr></table><br /><br />Lines 1-3 above collapse as expected.  But lines 4-5 cannot collapse.<br /><br />Here is a snippet from our schema file:<br /><br /><table width="99%"><tr><td><pre class="BBcode">lexClass: <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= c_DAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent:file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &lt;*.DAT|*.GPS&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;caseSensitive&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DisplayName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 'Normal Text'<br /><br />lexClass:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= c_DATCommentSL<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DisplayName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 'Comment (Single-Line)'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent:dyn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= c_DAT<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;children&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;start:tag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;='#'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end:tag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= @eol<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt:colorFG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 0x008800<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt:Italic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />lexClass:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= c_DATCommentML&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DisplayName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 'Comment (Multi-Line)'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent:dyn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= c_DAT<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;children&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;start:tag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= '.DATA OFF'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end:tag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= '.DATA ON'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// it would be nice if this block can also end with an eof tag<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Collapsable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 1 <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CollapsedText&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= '...' <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt:colorFG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 0x008800<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;txt:Italic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 1</pre></td></tr></table> <br /><br />Thanks in advance for any suggestions,<br />Brian]]>
   </description>
   <pubDate>Fri, 15 Aug 2014 15:10:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22388&amp;PID=72723&amp;title=ending-a-multiline-comment-at-endoffile#72723</guid>
  </item> 
 </channel>
</rss>