~ubuntu-branches/ubuntu/natty/vala/natty

« back to all changes in this revision

Viewing changes to vala/valagirparser.vala

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-01-22 23:02:33 UTC
  • mfrom: (1.5.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20110122230233-pocz07m3zzw8b7qr
Tags: 0.11.5-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
2263
2263
                                int array_length_idx, closure_idx, destroy_idx;
2264
2264
                                string scope;
2265
2265
                                string default_param_name = null;
2266
 
                                if (s is Delegate) {
2267
 
                                        default_param_name = "arg%d".printf (parameters.size);
2268
 
                                }
 
2266
                                default_param_name = "arg%d".printf (parameters.size);
2269
2267
                                var param = parse_parameter (out array_length_idx, out closure_idx, out destroy_idx, out scope, default_param_name);
2270
2268
                                if (array_length_idx != -1) {
2271
2269
                                        array_length_parameters.add (array_length_idx);