[vala/staging: 1/4] girparser: More complete parsing of field information
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 1/4] girparser: More complete parsing of field information
- Date: Fri, 14 Oct 2016 07:39:33 +0000 (UTC)
commit 267c075a94c6e06e2663138755d36f01e05af463
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Oct 14 09:22:27 2016 +0200
girparser: More complete parsing of field information
Especially to retrieve available array-length information.
https://bugzilla.gnome.org/show_bug.cgi?id=772902
vala/valagirparser.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 2a0e18d..2725408 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -2878,9 +2878,9 @@ public class Vala.GirParser : CodeVisitor {
var comment = parse_symbol_doc ();
- var type = parse_type ();
- bool no_array_length = true;
- bool array_null_terminated = false;
+ bool no_array_length;
+ bool array_null_terminated;
+ var type = parse_type (null, null, true, out no_array_length, out array_null_terminated);
type = element_get_type (type, true, ref no_array_length, ref array_null_terminated);
string name = current.name;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]