From d4e34e44bd09828eb320ea229378751766bc2a58 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Sun, 28 Feb 2016 21:28:06 +0000 Subject: [PATCH] Fixed parsing of block command comment arguments under non-Windows platforms. --- src/CppParser/AST.cpp | 2 ++ src/CppParser/AST.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/CppParser/AST.cpp b/src/CppParser/AST.cpp index 5546c44f..5adcd64c 100644 --- a/src/CppParser/AST.cpp +++ b/src/CppParser/AST.cpp @@ -844,6 +844,8 @@ BlockContentComment::BlockContentComment(CommentKind Kind) : Comment(Kind) {} BlockCommandComment::Argument::Argument() {} +BlockCommandComment::Argument::Argument(const Argument& rhs) : Text(rhs.Text) {} + DEF_STRING(BlockCommandComment::Argument, Text) BlockCommandComment::BlockCommandComment() : BlockContentComment(CommentKind::BlockCommandComment), CommandId(0) {} diff --git a/src/CppParser/AST.h b/src/CppParser/AST.h index 5e187e5c..21ce35ec 100644 --- a/src/CppParser/AST.h +++ b/src/CppParser/AST.h @@ -957,6 +957,7 @@ public: { public: Argument(); + Argument(const Argument&); STRING(Text) }; BlockCommandComment();