[gobject-introspection] scanner: Fix misuse of message.warn_symbol
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] scanner: Fix misuse of message.warn_symbol
- Date: Fri, 3 Sep 2010 22:07:43 +0000 (UTC)
commit 4a006e6b7b61636e097ffdcfbe5cd6b40129842d
Author: Colin Walters <walters verbum org>
Date: Fri Sep 3 17:11:24 2010 -0400
scanner: Fix misuse of message.warn_symbol
The "symbol" is actually just a string identifier, not
a real symbol. We already added the file positions when
parsing earlier.
giscanner/maintransformer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py
index c638721..2e1a126 100644
--- a/giscanner/maintransformer.py
+++ b/giscanner/maintransformer.py
@@ -625,7 +625,7 @@ class MainTransformer(object):
self._apply_annotations_callable(vfunc, [parent], block)
break
if not matched:
- message.warn_symbol(node.symbol,
+ message.warn_node(node,
"Virtual slot %r not found for %r annotation" % (invoker_name, TAG_VFUNC))
def _resolve_and_filter_type_list(self, typelist):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]