[vala] vapigen: Fix GIDL parse error reporting



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]