This commit is contained in:
Hackerpilot 2014-04-14 14:30:51 -07:00
parent 5f62054f38
commit ddbe485c40
1 changed files with 2 additions and 2 deletions

View File

@ -412,8 +412,8 @@ public struct DLexer
private static bool isDocComment(string comment) pure nothrow @safe
{
return comment.length >= 3 && (comment[2] == '/'
|| comment[2] == '*' || comment[2] == '+');
return comment.length >= 3 && (comment[0 .. 3] == "///"
|| comment[0 .. 3] == "/++" || comment[0 .. 3] == "/**");
}
public void popFront() pure