[vala] vapigen: Fix GIDL parse error reporting
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] vapigen: Fix GIDL parse error reporting
- Date: Wed, 22 Dec 2010 08:16:01 +0000 (UTC)
commit 99ce3d3831c0898368126f75570bb5feb1539929
Author: Jürg Billeter <j bitron ch>
Date: Wed Dec 22 09:15:28 2010 +0100
vapigen: Fix GIDL parse error reporting
Fixes bug 633597.
vapigen/valagidlparser.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index c7519cd..f7061bc 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -148,7 +148,7 @@ public class Vala.GIdlParser : CodeVisitor {
}
}
} catch (MarkupError e) {
- stdout.printf ("error parsing GIDL file: %s\n", e.message);
+ Report.error (null, "Unable to parse GIDL file: %s".printf (e.message));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]