This is needed by the changes in
16c02e4.
invalid_shader_source(loc, "Parse error at '%s': expected %s", token, expected)
{ }
+
+Diagnostic::Diagnostic():
+ severity(INFO),
+ source(0),
+ line(0),
+ provoking_source(0),
+ provoking_line(0)
+{ }
+
+Diagnostic::Diagnostic(Severity v, int s, unsigned l, const string &m):
+ severity(v),
+ source(s),
+ line(l),
+ provoking_source(s),
+ provoking_line(l),
+ message(m)
+{ }
+
} // namespace SL
} // namespace GL
} // namespace Msp
unsigned provoking_line;
std::string message;
- Diagnostic(): severity(INFO), source(-2), line(0) { }
+ Diagnostic();
+ Diagnostic(Severity, int, unsigned, const std::string &);
};
} // namespace SL