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()
{ {
} }
ParserDiagnostic::ParserDiagnostic() {}
DEF_STRING(ParserDiagnostic, FileName) DEF_STRING(ParserDiagnostic, FileName)
DEF_STRING(ParserDiagnostic, Message) DEF_STRING(ParserDiagnostic, Message)

1
src/CppParser/CppParser.h

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

Loading…
Cancel
Save