.gitignore: add some more IDE / tools related file
[babeltrace.git] / src / plugins / ctf / common / src / metadata / tsdl / parser-wrap.hpp
CommitLineData
9103e903 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
9103e903 3 *
0235b0db 4 * Copyright 2019 EfficiOS Inc.
9103e903
SM
5 */
6
ae2be88d
SM
7#ifndef BABELTRACE_PLUGINS_CTF_COMMON_SRC_METADATA_TSDL_PARSER_WRAP_HPP
8#define BABELTRACE_PLUGINS_CTF_COMMON_SRC_METADATA_TSDL_PARSER_WRAP_HPP
0235b0db 9
9103e903
SM
10/*
11 * Small wrapper around the bison-generated parser.h to conditionally define
12 * YYDEBUG (and therefore the yydebug declaration).
13 */
14
0f5c5d5c 15#include "logging/log-api.h"
9103e903
SM
16
17#if BT_LOG_ENABLED_TRACE
0f5c5d5c 18# define YYDEBUG 1
9103e903 19#else
4164020e 20# define YYDEBUG 0
9103e903
SM
21#endif
22
23#define ALLOW_INCLUDE_PARSER_H
5656cea5 24#include "plugins/ctf/common/src/metadata/tsdl/parser.hpp"
9103e903
SM
25#undef ALLOW_INCLUDE_PARSER_H
26
ae2be88d 27#endif /* BABELTRACE_PLUGINS_CTF_COMMON_SRC_METADATA_TSDL_PARSER_WRAP_HPP */
This page took 0.077431 seconds and 4 git commands to generate.