projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc3bed
)
src/Palete/VapiParser.vala
author
Alan Knowles
<alan@roojs.com>
Sun, 17 May 2015 04:48:15 +0000
(12:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 17 May 2015 04:48:15 +0000
(12:48 +0800)
src/Palete/VapiParser.vala
patch
|
blob
|
history
diff --git
a/src/Palete/VapiParser.vala
b/src/Palete/VapiParser.vala
index
ec0bb04
..
c3aad3d
100644
(file)
--- a/
src/Palete/VapiParser.vala
+++ b/
src/Palete/VapiParser.vala
@@
-352,7
+352,7
@@
namespace Palete {
//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");
@@
-367,7
+367,7
@@
namespace Palete {
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;