summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/checkwhite
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-12-13 11:41:30 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-12-13 11:41:30 +0100
commitd0f98332d2f1423320bdcb9da0d7de376d0eb27c (patch)
tree401d726ec0609eee4c7c263bef3ab44c952d3699 /crawl-ref/source/util/checkwhite
parent7988e2ceaa89b546c321e18f8321e06de7cacd6c (diff)
downloadcrawl-ref-d0f98332d2f1423320bdcb9da0d7de376d0eb27c.tar.gz
crawl-ref-d0f98332d2f1423320bdcb9da0d7de376d0eb27c.zip
Don't allow any CRs inside text files in the source.
Diffstat (limited to 'crawl-ref/source/util/checkwhite')
-rwxr-xr-xcrawl-ref/source/util/checkwhite1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/util/checkwhite b/crawl-ref/source/util/checkwhite
index 5bb4448b2f..610c06a893 100755
--- a/crawl-ref/source/util/checkwhite
+++ b/crawl-ref/source/util/checkwhite
@@ -23,6 +23,7 @@ while(<FLIST>)
print "extra newlines at eof: $file\n" if s/\n+\n$/\n/s;
print "tab: $file\n" if s/ {0,7}\t/ /sg;
print "spaces at eol: $file\n" if s/ +\n/\n/sg;
+ print "CR: $file\n" if s/\r//sg;
if ($_ ne $cont)
{