summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-03 20:02:40 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-03 20:02:40 +0000
commitfff73bc3a043ebd7a701005d24b95db165d4eb7a (patch)
treed09ec9de6e6eab2cc3b1c910689d82fc456ed393 /crawl-ref/source/util
parentede70149ba10475ab31a37ed6e9bd71c105eb1f0 (diff)
downloadcrawl-ref-fff73bc3a043ebd7a701005d24b95db165d4eb7a.tar.gz
crawl-ref-fff73bc3a043ebd7a701005d24b95db165d4eb7a.zip
Use end() instead of exit() for level compiler errors.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1206 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/util')
-rw-r--r--crawl-ref/source/util/levcomp.ypp2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/levcomp.ypp b/crawl-ref/source/util/levcomp.ypp
index 83ae14bf5e..f917ad37e6 100644
--- a/crawl-ref/source/util/levcomp.ypp
+++ b/crawl-ref/source/util/levcomp.ypp
@@ -31,7 +31,7 @@ void yyerror(const char *e)
{
fprintf(stderr, "%s:%d: %s\n", lc_desfile.c_str(), yylineno, e);
// Bail bail bail.
- exit(1);
+ end(1);
}
%}