summaryrefslogtreecommitdiff
path: root/vapigen
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-12-22 09:15:28 +0100
committerJürg Billeter <j@bitron.ch>2010-12-22 09:15:28 +0100
commit99ce3d3831c0898368126f75570bb5feb1539929 (patch)
tree3e7141521ada62fee98d00e165d93bbc7cfe50e9 /vapigen
parent221589b94ad9ced56e53686eaf435d579ef5a845 (diff)
downloadvala-99ce3d3831c0898368126f75570bb5feb1539929.tar.gz
vapigen: Fix GIDL parse error reporting
Fixes bug 633597.
Diffstat (limited to 'vapigen')
-rw-r--r--vapigen/valagidlparser.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index c7519cd10..f7061bcd1 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));
}
}