From 67a3ec1051db0f243b991d62df930ef239c43a33 Mon Sep 17 00:00:00 2001 From: triton Date: Tue, 15 Apr 2014 03:41:21 +0100 Subject: [PATCH] Fixed full comment parsing in AST converter. --- src/Core/Parser/ASTConverter.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Core/Parser/ASTConverter.cs b/src/Core/Parser/ASTConverter.cs index 50694104..302519e4 100644 --- a/src/Core/Parser/ASTConverter.cs +++ b/src/Core/Parser/ASTConverter.cs @@ -640,10 +640,12 @@ namespace CppSharp Kind = ConvertRawCommentKind(rawComment.RawCommentKind), BriefText = rawComment.BriefText, Text = rawComment.Text, - FullComment = commentConverter.Visit(rawComment.FullComment) - as AST.FullComment }; + if (rawComment.FullComment != null) + _rawComment.FullComment = commentConverter.Visit(rawComment.FullComment) + as AST.FullComment; + return _rawComment; }