From: Peter van Dijk Date: Mon, 20 Jan 2014 10:44:23 +0000 (+0100) Subject: clear up flex warnings X-Git-Tag: rec-3.6.0-rc1~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a4f2b86f95304ce97cb66714409a64ab9bb4d5a;p=pdns clear up flex warnings --- diff --git a/pdns/Makefile.am b/pdns/Makefile.am index a5cc530e8..cb8541f90 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -1,7 +1,7 @@ AM_CXXFLAGS=-DSYSCONFDIR=\"@sysconfdir@\" -DLIBDIR=\"@libdir@\" -DLOCALSTATEDIR=\"@socketdir@\" @THREADFLAGS@ $(LUA_CFLAGS) $(SQLITE3_CFLAGS) $(POLARSSL_CFLAGS) -Iext/rapidjson/include -Iext/yahttp -AM_LFLAGS = -s -i +AM_LFLAGS = -i AM_YFLAGS = -d --verbose --debug AM_CPPFLAGS=$(BOOST_CPPFLAGS) @THREADFLAGS@ diff --git a/pdns/bindlexer.l b/pdns/bindlexer.l index 2f783eade..4a47e7a2d 100644 --- a/pdns/bindlexer.l +++ b/pdns/bindlexer.l @@ -117,7 +117,4 @@ type return TYPETOK; [ \t]* ; \/\/.*$ ; \#.*$ ; -. { - fprintf(stderr,"Parsing '%s': unable to parse line %d at character '%s'\n",current_filename, linenumber, yytext); - exit(1); } %%