[gobject-introspection] [scanner] Improve an error message, include lineno
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] [scanner] Improve an error message, include lineno
- Date: Thu, 2 Sep 2010 19:44:19 +0000 (UTC)
commit bbd1aa9450e54ad57c017f408dae5937dcf074ac
Author: Johan Dahlin <johan gnome org>
Date: Thu Sep 2 16:41:34 2010 -0300
[scanner] Improve an error message, include lineno
giscanner/transformer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/transformer.py b/giscanner/transformer.py
index b3660b0..120218f 100644
--- a/giscanner/transformer.py
+++ b/giscanner/transformer.py
@@ -610,7 +610,7 @@ raise ValueError."""
try:
name = self.strip_identifier(symbol.ident)
except TransformerException, e:
- message.warn(e)
+ message.warn_symbol(symbol, e)
return None
struct = ast.Record(name, symbol.ident, disguised)
self._parse_fields(symbol, struct)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]