diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 09:25:09 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 09:25:09 +0000 |
commit | 73efec90ba10a76ae5d4663461781f840b110d9d (patch) | |
tree | ffcd012d59a95c9de70258fcb55c4be863d49693 /crawl-ref/source | |
parent | f106062e21791937bdc164673f27e2e3545e721d (diff) | |
download | crawl-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')
-rw-r--r-- | crawl-ref/source/util/levcomp.lpp | 2 | ||||
-rw-r--r-- | crawl-ref/source/util/levcomp.ypp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/util/levcomp.lpp b/crawl-ref/source/util/levcomp.lpp index cb04657c0d..4cec4b80df 100644 --- a/crawl-ref/source/util/levcomp.lpp +++ b/crawl-ref/source/util/levcomp.lpp @@ -1,6 +1,6 @@ %{ -// levcomp.l: +// levcomp.lpp: // Level compiler lexer for Dungeon Crawl Stone Soup. // // Based loosely on NetHack's lev_comp.l 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; |