summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/levcomp.ypp
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-20 09:25:09 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-20 09:25:09 +0000
commit73efec90ba10a76ae5d4663461781f840b110d9d (patch)
treeffcd012d59a95c9de70258fcb55c4be863d49693 /crawl-ref/source/util/levcomp.ypp
parentf106062e21791937bdc164673f27e2e3545e721d (diff)
downloadcrawl-ref-73efec90ba10a76ae5d4663461781f840b110d9d.tar.gz
crawl-ref-73efec90ba10a76ae5d4663461781f840b110d9d.zip
Enable more verbose error messages from the map parser.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1070 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/util/levcomp.ypp')
-rw-r--r--crawl-ref/source/util/levcomp.ypp2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/util/levcomp.ypp b/crawl-ref/source/util/levcomp.ypp
index b6ee732330..aeccfb8aa2 100644
--- a/crawl-ref/source/util/levcomp.ypp
+++ b/crawl-ref/source/util/levcomp.ypp
@@ -6,6 +6,8 @@
#include "stuff.h"
#include <map>
+#define YYERROR_VERBOSE 1
+
int yylex();
extern int yylineno;