Bindlexer use C++ bison header
binddnssec.cc
libbindbackend_la_LDFLAGS = -module -avoid-version
-
-# for bindparser.h/hh
-.hh.h:
- cp $< $@
dnsmessage.proto \
mtasker.cc \
inflighter.cc \
- bindparser.h \
+ bindparser.hh \
named.conf.parsertest \
pdns.service.in \
ixfrdist.service.in \
BUILT_SOURCES = \
bind-dnssec.schema.sqlite3.sql.h \
- bindparser.h \
+ bindparser.hh \
dnslabeltext.cc \
apidocfiles.h
bind-dnssec.schema.sqlite3.sql.h: bind-dnssec.schema.sqlite3.sql
( echo '#pragma once'; echo 'static char sqlCreate[] __attribute__((unused))=' ; sed 's/$$/"/g' $< | sed 's/^/"/g' ; echo ';' ) > $@
-# for bindparser.h/hh
-.hh.h:
- cp $< $@
-
-bindlexer.$(OBJEXT): bindparser.h
+bindlexer.$(OBJEXT): bindparser.hh
pdns_recursor rec_control:
@echo "Please build the recursor from the recursordist/ dir"
#define YY_NO_INPUT 1
#define YYSTYPE char *
-#include "bindparser.h"
+#include "bindparser.hh"
int linenumber;
#define MAX_INCLUDE_DEPTH 10
%}
-%x comment
+%x comment
%x incl
%x quoted
%option stack
-zone return ZONETOK;
+zone return ZONETOK;
file return FILETOK;
options return OPTIONSTOK;