summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/gen-apt.pl
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-06-22 10:31:34 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-06-22 10:31:34 +0200
commitd5113c897df9a7107277fa25e9c388051be2ce14 (patch)
tree7ceb40c567820716c42647ae3f3d3e4177ed1b1f /crawl-ref/source/util/gen-apt.pl
parent89f1d789f04752499c9ad1052b15de7ff7fb2c6f (diff)
downloadcrawl-ref-d5113c897df9a7107277fa25e9c388051be2ce14.tar.gz
crawl-ref-d5113c897df9a7107277fa25e9c388051be2ce14.zip
Be more forgiving about EOL conversions when generating aptitudes.
Diffstat (limited to 'crawl-ref/source/util/gen-apt.pl')
-rwxr-xr-xcrawl-ref/source/util/gen-apt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/gen-apt.pl b/crawl-ref/source/util/gen-apt.pl
index 551147e56f..3f7a1bfeec 100755
--- a/crawl-ref/source/util/gen-apt.pl
+++ b/crawl-ref/source/util/gen-apt.pl
@@ -216,7 +216,7 @@ sub load_mods {
my @species;
while (<$inf>) {
- $table = $1 if m{// table: ([A-Za-z ]+)$};
+ $table = $1 if m{// table: ([A-Za-z ]+)\s*$};
next unless $table;
if (/SP_(\w+)/) {