mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd: Start a stdinc grammar header as a front to spirit.h.
This commit is contained in:
parent
7b226d5477
commit
715c4749cd
2 changed files with 28 additions and 0 deletions
27
include/ircd/grammar.h
Normal file
27
include/ircd/grammar.h
Normal 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;
|
||||||
|
}
|
|
@ -36,6 +36,7 @@
|
||||||
#include "stringops.h"
|
#include "stringops.h"
|
||||||
#include "tokens.h"
|
#include "tokens.h"
|
||||||
#include "iov.h"
|
#include "iov.h"
|
||||||
|
#include "grammar.h"
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
#include "rfc1459.h"
|
#include "rfc1459.h"
|
||||||
#include "json/json.h"
|
#include "json/json.h"
|
||||||
|
|
Loading…
Reference in a new issue