Skip to content

Commit

Permalink
D: Update known failures and tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Mar 26, 2018
1 parent e1d2d42 commit 13d9991
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 1 addition & 7 deletions examples/prism-d.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,4 @@ <h3>Comments only support one level of nesting</h3>
<pre><code>/+ /+ /+ this does not work +/ +/ +/</code></pre>

<h3>Token strings only support one level of nesting</h3>
<pre><code>q{ q{ q{ this does not work } } }</code></pre>

<h3>Token strings inside comments are highlighted</h3>
<pre><code>// This q{is} wrong</code></pre>

<h3>Multi-line comment ends single-line comment</h3>
<pre><code>// This /* is a */ comment </code></pre>
<pre><code>q{ q{ q{ this does not work } } }</code></pre>
6 changes: 5 additions & 1 deletion tests/languages/d/comment_feature.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@ bar +/
/+
bar +/
baz +/
// This q{is} a comment
// This /* is a */ comment

----------------------------------------------------

[
["comment", "#!/usr/bin/env rdmd"],
["comment", "/++/"],
["comment", "/+ foo\r\nbar +/"],
["comment", "/+ foo\r\n\t/+\r\n\tbar +/\r\nbaz +/"]
["comment", "/+ foo\r\n\t/+\r\n\tbar +/\r\nbaz +/"],
["comment", "// This q{is} a comment"],
["comment", "// This /* is a */ comment"]
]

----------------------------------------------------
Expand Down

0 comments on commit 13d9991

Please sign in to comment.