ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/genacc
(Generate patch)

Comparing deliantra/server/server/genacc (file contents):
Revision 1.5 by root, Sat Dec 30 10:16:11 2006 UTC vs.
Revision 1.6 by root, Sun Dec 31 10:28:36 2006 UTC

9for my $file (@ARGV) { 9for my $file (@ARGV) {
10 open my $fh, "<:utf8", $file 10 open my $fh, "<:utf8", $file
11 or die "$file: $!"; 11 or die "$file: $!";
12 12
13 while (<$fh>) { 13 while (<$fh>) {
14 next if /^\s*\//; # skip lines starting with /
14 if ($curclass eq $class) { 15 if ($curclass eq $class) {
15 while (/ACC\s*\(R([WO])\s*,\s*([^)\]]+)(?:\[(\S+)\])?\)/g) { 16 while (/ACC\s*\(R([WO])\s*,\s*([^)\]]+)(?:\[(\S+)\])?\)/g) {
16 if ($3) { 17 if ($3) {
17 push @array_member, [$1, $2, $3]; 18 push @array_member, [$1, $2, $3];
18 } else { 19 } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines