summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/gen-luatags.pl
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-06-28 02:23:03 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-06-28 23:45:12 +0200
commitd27db1ede3195db129278d2482c87a1cc74905c3 (patch)
tree1a614543a23f2018fe52014848bbd5e7e5c005fa /crawl-ref/source/util/gen-luatags.pl
parent5623267e1204b304e83f046072532a9912208755 (diff)
downloadcrawl-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/gen-luatags.pl')
-rwxr-xr-xcrawl-ref/source/util/gen-luatags.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/gen-luatags.pl b/crawl-ref/source/util/gen-luatags.pl
index b72135a2d6..db0e1800fa 100755
--- a/crawl-ref/source/util/gen-luatags.pl
+++ b/crawl-ref/source/util/gen-luatags.pl
@@ -4,7 +4,7 @@ use warnings;
my @tags=("TAG_MINOR_RESET");
open IN, "<tag-version.h" or die "Can't open tag-version.h\n";
-while(<IN>)
+while (<IN>)
{
push @tags, $1 if /^\s*((?:NUM_)?TAG_MINOR[A-Z_0-9]+),/;
}