ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra.pm (file contents):
Revision 1.42 by root, Mon Mar 13 03:28:53 2006 UTC vs.
Revision 1.43 by root, Mon Mar 13 03:30:37 2006 UTC

347 347
348 for (@{$type->{ignore} || []}) { 348 for (@{$type->{ignore} || []}) {
349 $ignore{$_}++ for ref $_ ? @$_ : $_; 349 $ignore{$_}++ for ref $_ ? @$_ : $_;
350 } 350 }
351 351
352 for ([general => ($type->{attr} || {})], @{$type->{section} || []}) { 352 for ([general => ($type->{attr} || [])], @{$type->{section} || []}) {
353 my ($name, $attr) = @$_; 353 my ($name, $attr) = @$_;
354 push @section_order, $name; 354 push @section_order, $name;
355 warn "$name, $attr\n";#d#
355 for (@{$attr || []}) { 356 for (@$attr) {
356 my ($k, $v) = @$_; 357 my ($k, $v) = @$_;
357 push @attr_order, $k; 358 push @attr_order, $k;
358 $section{$name}{$k} ||= $v; 359 $section{$name}{$k} ||= $v;
359 } 360 }
360 } 361 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines