diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-06-28 02:23:03 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-06-28 23:45:12 +0200 |
commit | d27db1ede3195db129278d2482c87a1cc74905c3 (patch) | |
tree | 1a614543a23f2018fe52014848bbd5e7e5c005fa /crawl-ref/source/util/art-data.pl | |
parent | 5623267e1204b304e83f046072532a9912208755 (diff) | |
download | crawl-ref-d27db1ede3195db129278d2482c87a1cc74905c3.tar.gz crawl-ref-d27db1ede3195db129278d2482c87a1cc74905c3.zip |
Reformat some perl.
Mostly so I don't get spammed when forgetting to restrict a search to *.cc
*.h files only. There's too much idiosyncratic formatting to force a
standard without thinking about it first.
We seem to have a bunch of unused scripts, perhaps some should get pruned
away?
Diffstat (limited to 'crawl-ref/source/util/art-data.pl')
-rwxr-xr-x | crawl-ref/source/util/art-data.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/util/art-data.pl b/crawl-ref/source/util/art-data.pl index b7cfb18d34..1b867df54d 100755 --- a/crawl-ref/source/util/art-data.pl +++ b/crawl-ref/source/util/art-data.pl @@ -980,12 +980,12 @@ my %valid_func = ( sub read_funcs { - unless(open(INPUT, "<art-func.h")) + unless (open(INPUT, "<art-func.h")) { die "Couldn't open art-func.h for reading: $!\n"; } - while(<INPUT>) + while (<INPUT>) { if (/^static .* _([A-Z_]+)_(\S+)\s*\(/) { @@ -1011,7 +1011,7 @@ sub read_funcs sub read_data { - unless(open(INPUT, "<art-data.txt")) + unless (open(INPUT, "<art-data.txt")) { die "Couldn't open art-data.txt for reading: $!\n"; } |