Fix DocComments in the case of a DocComment following a normal comment straight away
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
e4c90e1c53
commit
71f3fb6f36
|
@ -268,7 +268,7 @@ void Parser::parse() {
|
|||
} else if (!isComment) {
|
||||
currentValue += c;
|
||||
} else if (!isDocComment){
|
||||
if(currentComment.empty() && c == ';'){ //DocComment, should not appear
|
||||
if((currentComment.empty() || currentComment.back() == '\n') && c == ';'){ //DocComment, should not appear
|
||||
isDocComment = true;
|
||||
}else{
|
||||
currentComment += c;
|
||||
|
|
Loading…
Reference in a new issue