]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapigen: Fix GIDL parse error reporting
authorJürg Billeter <j@bitron.ch>
Wed, 22 Dec 2010 08:15:28 +0000 (09:15 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 22 Dec 2010 08:15:28 +0000 (09:15 +0100)
Fixes bug 633597.

vapigen/valagidlparser.vala

index c7519cd10b84938feb99d53c2be2c134b58d0050..f7061bcd1483cea11c7d54ca0d70b7af3ab263c3 100644 (file)
@@ -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));
                }
        }