1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-14 14:49:48 +00:00

Rename AstType to GlobExpression

This commit is contained in:
King_DuckZ 2016-05-13 19:22:33 +02:00
parent 94ebfbdfcb
commit 61fa9628a5
5 changed files with 15 additions and 15 deletions

View file

@ -82,16 +82,16 @@ namespace g2r {
GlobJolly
>;
struct GlobAlternation {
std::vector<std::vector<GlobNode>> alternatives;
};
using GlobExpression = std::vector<GlobNode>;
using AstType = std::vector<GlobNode>;
struct GlobAlternation {
std::vector<GlobExpression> alternatives;
};
} //namespace g2r
BOOST_FUSION_ADAPT_STRUCT(
g2r::GlobAlternation,
(std::vector<std::vector<g2r::GlobNode>>, alternatives)
(std::vector<g2r::GlobExpression>, alternatives)
);
static_assert(g2r::GlobJolly(1, 2, false) < g2r::GlobJolly(0, 0, true), "Wrong less than");