0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd: Start a stdinc grammar header as a front to spirit.h.

This commit is contained in:
Jason Volk 2019-02-26 12:57:43 -08:00
parent 7b226d5477
commit 715c4749cd
2 changed files with 28 additions and 0 deletions

27
include/ircd/grammar.h Normal file
View file

@ -0,0 +1,27 @@
// Matrix Construct
//
// Copyright (C) Matrix Construct Developers, Authors & Contributors
// Copyright (C) 2016-2019 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice is present in all copies. The
// full license for this software is available in the LICENSE file.
#pragma once
#define HAVE_IRCD_GRAMMAR_H
namespace boost::spirit
{
struct unused_type;
}
namespace boost::spirit::qi
{
template<class it,
class T1,
class T2,
class T3,
class T4>
struct rule;
}

View file

@ -36,6 +36,7 @@
#include "stringops.h"
#include "tokens.h"
#include "iov.h"
#include "grammar.h"
#include "parse.h"
#include "rfc1459.h"
#include "json/json.h"