Commit 8335ffab authored by Miklos Magyari's avatar Miklos Magyari
Browse files

Possible null reference exception fix


Signed-off-by: Miklos Magyari's avatarMiklos Magyari <miklos.magyari@sigmatechnology.se>
parent 05086f58
...@@ -186,7 +186,9 @@ public abstract class Definition extends Assignment implements IAppendableSyntax ...@@ -186,7 +186,9 @@ public abstract class Definition extends Assignment implements IAppendableSyntax
} }
public DocumentComment getDocumentComment() { public DocumentComment getDocumentComment() {
documentComment.parseComment(); if (documentComment != null) {
documentComment.parseComment();
}
return documentComment; return documentComment;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment