Browse Source

Added an explicit constructor to ParserDiagnostic to fix missing symbols.

pull/225/head
triton 12 years ago
parent
commit
48216a5bd4
  1. 2
      src/CppParser/CppParser.cpp
  2. 1
      src/CppParser/CppParser.h

2
src/CppParser/CppParser.cpp

@ -35,6 +35,8 @@ ParserResult::ParserResult() @@ -35,6 +35,8 @@ ParserResult::ParserResult()
{
}
ParserDiagnostic::ParserDiagnostic() {}
DEF_STRING(ParserDiagnostic, FileName)
DEF_STRING(ParserDiagnostic, Message)

1
src/CppParser/CppParser.h

@ -53,6 +53,7 @@ enum struct ParserDiagnosticLevel @@ -53,6 +53,7 @@ enum struct ParserDiagnosticLevel
struct CS_API ParserDiagnostic
{
ParserDiagnostic();
STRING(FileName)
STRING(Message)
ParserDiagnosticLevel Level;

Loading…
Cancel
Save