[vala] dova: Support inline allocated array parameters
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] dova: Support inline allocated array parameters
- Date: Sat, 5 Jun 2010 08:43:45 +0000 (UTC)
commit 42c09b07e1592107d73b8e97e9e2eb2fe907894c
Author: Jürg Billeter <j bitron ch>
Date: Sat Jun 5 09:43:33 2010 +0200
dova: Support inline allocated array parameters
vala/valaparser.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vala/valaparser.vala b/vala/valaparser.vala
index 25b0242..742287e 100644
--- a/vala/valaparser.vala
+++ b/vala/valaparser.vala
@@ -3141,6 +3141,9 @@ public class Vala.Parser : CodeVisitor {
type = parse_type (true, false);
}
string id = parse_identifier ();
+
+ type = parse_inline_array_type (type);
+
var param = new FormalParameter (id, type, get_src (begin));
set_attributes (param, attrs);
param.direction = direction;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]