/usr/share/mozart/doc/opi/node12.html is in mozart-doc 1.4.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>D Limitations</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node11.html#appendix.api"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="bib.html#label259">Next >></A></TD></TR></TABLE><DIV id="appendix.limitations"><H1><A name="appendix.limitations">D Limitations</A></H1><P> Some features of Oz syntax are not handled correctly for purposes of fontification and indentation. These will be described in the following so that you can work around these limitations. </P><DIV class="apropos"><P class="margin">Fontification</P><P> </P><UL><LI><P>An ampersand as the last character in a string or before a backslash-escaped double quote in a string prevents this double quote from being recognized as a string delimiter. Workaround: Write <CODE>[<SPAN class="string">&&</SPAN>]</CODE> or <CODE><SPAN class="string">"\&"</SPAN></CODE> instead of <CODE><SPAN class="string">"&"</SPAN></CODE>. </P></LI><LI><P>A backslash character token <CODE><SPAN class="string">&\\</SPAN></CODE> immediately followed by a lowercase letter is misinterpreted as a directive, e. g., in <CODE>C <SPAN class="keyword">==</SPAN> &\<SPAN class="reference">\andthen </SPAN></CODE>... Workaround: Include a space character. </P></LI><LI><P>At maximum fontification level, method names are coloured in <CODE>font-lock-funtion-name-face</CODE>. If one mistakenly uses a keyword as method name, as in <CODE><SPAN class="keyword">meth</SPAN> <SPAN class="functionname">lock</SPAN>() </CODE>...<CODE> <SPAN class="keyword">end</SPAN></CODE>, then one is not reminded of the fact that this constitutes a syntax error. </P></LI><LI><P>The use of non-escaped double quotes in Gump regular expression tokens written with angle brackets confuses fontification. Workaround: Express the regular expression by a string. </P></LI></UL><P> </P></DIV><DIV class="apropos"><P class="margin">Indentation</P><P> </P><UL><LI><P>If a keyword is immediately preceded by a number (without space), e. g., <CODE>10thread</CODE>, the keyword is not recognized as such. This also concerns fontification. Workaround: Write a space. </P></LI><LI><P>Indentation does not know about <CODE>/* </CODE>...<CODE> <SPAN class="comment">*/</SPAN></CODE> style comments, that is, their contents is indented like code and taken into account for computing the following indentation level. Workaround: Only use such comments to comment out properly nested code. </P></LI><LI><P>Indentation does not know about conditional compilation. Workaround: Only use conditionals around properly nested code. </P></LI><LI><P>Line breaks inside strings, quotes or backquote variables are reported as errors when computing the indentation level. Workaround: Write line breaks as <CODE><SPAN class="string">"\n"</SPAN></CODE> and/or use virtual strings with <CODE><SPAN class="keyword">#</SPAN></CODE> concatenation for multiline strings. </P></LI><LI><P>Indentation is not aware of infix operators, e. g.: </P><BLOCKQUOTE class="code"><CODE><SPAN class="keyword">feat</SPAN> <BR> f:<BR> 5 <SPAN class="keyword">+</SPAN> <BR> 7</CODE></BLOCKQUOTE><P> The <CODE>7</CODE> should be underneath the <CODE>5</CODE>. Workaround: Enclose the expression in parentheses. </P></LI><LI><P>The contents of Gump regular expression tokens in angle bracket notation are not ignored for purposes of indentation. Workaround: Express the regular expression by a string. </P></LI></UL><P> </P></DIV></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node11.html#appendix.api"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="bib.html#label259">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~kornstae/">Leif Kornstaedt</A> and <A href="http://www.ps.uni-sb.de/~duchier/">Denys Duchier</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|