summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter-lexer.lpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-01-06 18:55:12 -0800
committerBen Longbons <b.r.longbons@gmail.com>2014-01-06 18:55:12 -0800
commit3256a83e508bcde2cc1cd807d5fe84d140071c1d (patch)
treeec9762d642f70a9b7f973a3a14c1953c8a10da1e /src/map/magic-interpreter-lexer.lpp
parent4c053c131ee13400bf1057f37dae3d0b7750e676 (diff)
downloadtmwa-3256a83e508bcde2cc1cd807d5fe84d140071c1d.tar.gz
tmwa-3256a83e508bcde2cc1cd807d5fe84d140071c1d.tar.bz2
tmwa-3256a83e508bcde2cc1cd807d5fe84d140071c1d.tar.xz
tmwa-3256a83e508bcde2cc1cd807d5fe84d140071c1d.zip
Fix flex/bison interaction properly
Diffstat (limited to 'src/map/magic-interpreter-lexer.lpp')
-rw-r--r--src/map/magic-interpreter-lexer.lpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/magic-interpreter-lexer.lpp b/src/map/magic-interpreter-lexer.lpp
index 786088e..cef1121 100644
--- a/src/map/magic-interpreter-lexer.lpp
+++ b/src/map/magic-interpreter-lexer.lpp
@@ -13,8 +13,6 @@
#define HEADING(dir) { magic_frontend_lval.i = dir; FIXLOC; return DIR; }
-// silence compiler warnings
-#define YY_USER_INIT (void)yylval, (void)yylloc
%}
%option yylineno
@@ -22,7 +20,6 @@
%option prefix="magic_frontend_"
%option nounput
%option noinput
-%option bison-bridge bison-locations
%%