parent
b3ea687d8c
commit
84526582f0
|
@ -97,8 +97,7 @@ private class CommentParser
|
|||
{
|
||||
CommentParts parts;
|
||||
|
||||
// string buildUp;
|
||||
|
||||
// Handle multi-line comments
|
||||
if(this.source.startsWith("/**"))
|
||||
{
|
||||
string[] lines = split(this.source, "\n");
|
||||
|
@ -160,6 +159,12 @@ private class CommentParser
|
|||
}
|
||||
parts.strs = docStrs;
|
||||
}
|
||||
// Handle single-line comments
|
||||
else
|
||||
{
|
||||
// Set body parts
|
||||
parts.bdy = strip(stripLeft(this.source, ("//")));
|
||||
}
|
||||
|
||||
return parts;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue