[vala] girparser: allow changing record names in metadata
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] girparser: allow changing record names in metadata
- Date: Fri, 23 Sep 2011 20:07:59 +0000 (UTC)
commit 5bcbecb6c24822753fd02724a0b6b02baf8397f2
Author: Evan Nemerson <evan coeus-group com>
Date: Fri Sep 23 11:52:52 2011 -0700
girparser: allow changing record names in metadata
vala/valagirparser.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index bd25d9b..a3d650e 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -2304,7 +2304,7 @@ public class Vala.GirParser : CodeVisitor {
Struct st;
if (current.new_symbol) {
- st = new Struct (reader.get_attribute ("name"), current.source_reference);
+ st = new Struct (element_get_name (), current.source_reference);
current.symbol = st;
} else {
st = (Struct) current.symbol;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]