reduce width of comment comparison
This commit is contained in:
parent
c2dac56912
commit
884bb7fbc6
|
@ -129,8 +129,8 @@ Note: Code examples are not exactly one-to-one, there may be subtle differences
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<pre>
|
<pre>
|
||||||
/* This is a single-line comment */
|
/* A single-line comment */
|
||||||
int x = 3; // another single-line comment
|
int x = 3; // more comment
|
||||||
// So is this
|
// So is this
|
||||||
</pre>
|
</pre>
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -141,14 +141,16 @@ a multi-line comment
|
||||||
// or maybe this way?
|
// or maybe this way?
|
||||||
//
|
//
|
||||||
#if 0
|
#if 0
|
||||||
some code including comments to be ignored
|
some code
|
||||||
|
including comments
|
||||||
|
to be ignored
|
||||||
#endif
|
#endif
|
||||||
</pre>
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre>
|
<pre>
|
||||||
# This is a single-line comment
|
# A single-line comment
|
||||||
var x = 3 # another comment
|
var x = 3 # more comment
|
||||||
</pre>
|
</pre>
|
||||||
<pre>
|
<pre>
|
||||||
discard """
|
discard """
|
||||||
|
@ -159,7 +161,8 @@ a multi-line comment
|
||||||
#
|
#
|
||||||
when false:
|
when false:
|
||||||
a multi-line comment
|
a multi-line comment
|
||||||
(but must be indented to be included)
|
(but must be indented
|
||||||
|
to be included)
|
||||||
</pre>
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue