Skip to content

Commit 13d9991

Browse files
committed
D: Update known failures and tests.
1 parent e1d2d42 commit 13d9991

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

examples/prism-d.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,4 @@ <h3>Comments only support one level of nesting</h3>
264264
<pre><code>/+ /+ /+ this does not work +/ +/ +/</code></pre>
265265

266266
<h3>Token strings only support one level of nesting</h3>
267-
<pre><code>q{ q{ q{ this does not work } } }</code></pre>
268-
269-
<h3>Token strings inside comments are highlighted</h3>
270-
<pre><code>// This q{is} wrong</code></pre>
271-
272-
<h3>Multi-line comment ends single-line comment</h3>
273-
<pre><code>// This /* is a */ comment </code></pre>
267+
<pre><code>q{ q{ q{ this does not work } } }</code></pre>

tests/languages/d/comment_feature.test

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@ bar +/
77
/+
88
bar +/
99
baz +/
10+
// This q{is} a comment
11+
// This /* is a */ comment
1012

1113
----------------------------------------------------
1214

1315
[
1416
["comment", "#!/usr/bin/env rdmd"],
1517
["comment", "/++/"],
1618
["comment", "/+ foo\r\nbar +/"],
17-
["comment", "/+ foo\r\n\t/+\r\n\tbar +/\r\nbaz +/"]
19+
["comment", "/+ foo\r\n\t/+\r\n\tbar +/\r\nbaz +/"],
20+
["comment", "// This q{is} a comment"],
21+
["comment", "// This /* is a */ comment"]
1822
]
1923

2024
----------------------------------------------------

0 commit comments

Comments
 (0)