Browse Source

Fixed parsing of incline command arguments and HTML start tag comment attributes under non-Windows platforms.

pull/621/merge
João Matos 10 years ago
parent
commit
9c7b666dbc
  1. 4
      src/CppParser/AST.cpp
  2. 2
      src/CppParser/AST.h

4
src/CppParser/AST.cpp

@ -913,6 +913,8 @@ HTMLTagComment::HTMLTagComment(CommentKind Kind) : InlineContentComment(Kind) {} @@ -913,6 +913,8 @@ HTMLTagComment::HTMLTagComment(CommentKind Kind) : InlineContentComment(Kind) {}
HTMLStartTagComment::Attribute::Attribute() {}
HTMLStartTagComment::Attribute::Attribute(const Attribute& rhs) : Name(rhs.Name), Value(rhs.Value) {}
DEF_STRING(HTMLStartTagComment::Attribute, Name)
DEF_STRING(HTMLStartTagComment::Attribute, Value)
@ -937,6 +939,8 @@ DEF_STRING(TextComment, Text) @@ -937,6 +939,8 @@ DEF_STRING(TextComment, Text)
InlineCommandComment::Argument::Argument() {}
InlineCommandComment::Argument::Argument(const Argument& rhs) : Text(rhs.Text) {}
DEF_STRING(InlineCommandComment::Argument, Text)
InlineCommandComment::InlineCommandComment() : InlineContentComment(CommentKind::InlineCommandComment), CommentRenderKind(RenderNormal) {}

2
src/CppParser/AST.h

@ -1039,6 +1039,7 @@ public: @@ -1039,6 +1039,7 @@ public:
{
public:
Argument();
Argument(const Argument&);
STRING(Text)
};
InlineCommandComment();
@ -1060,6 +1061,7 @@ public: @@ -1060,6 +1061,7 @@ public:
{
public:
Attribute();
Attribute(const Attribute&);
STRING(Name)
STRING(Value)
};

Loading…
Cancel
Save