//gir_parser.parse (context);
if (context.report.get_errors () > 0) {
- throw new
+ throw new VapiParserError.PARSE_FAILED("failed parse VAPIS, so we can not write file correctly");
print("parse got errors");
context.check ();
if (context.report.get_errors () > 0) {
print("check got errors");
-
+ throw new VapiParserError.PARSE_FAILED("failed check VAPIS, so we can not write file correctly");
Vala.CodeContext.pop ();
return;