Avoid warnings while generating the parser

This commit is contained in:
Felipe Zimmerle
2020-12-18 11:18:03 -03:00
committed by Felipe Zimmerle
parent bedc9a1eb0
commit fa877bd5fc
3 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
noinst_LTLIBRARIES = libmodsec_parser.la
AM_YFLAGS = $(CUSTOM_YFLAGS)
BUILT_SOURCES = \
seclang-parser.cc \
test.cc

View File

@@ -1,7 +1,7 @@
%skeleton "lalr1.cc" /* -*- C++ -*- */
%require "3.0.2"
%defines
%define parser_class_name {seclang_parser}
%define api.parser.class {seclang_parser}
%define api.token.constructor
%define api.value.type variant
//%define api.namespace {modsecurity::yy}