tidy
This commit is contained in:
parent
86ecdc2c5e
commit
eeafd5fef8
|
@ -66,15 +66,15 @@ auto story_define = ElementRule<StoryDefine>(u8"story_define", (int)NovelExprs::
|
|||
));
|
||||
// ===================================================================
|
||||
auto article_decl = ElementRule<ArticleDefine>(u8"article_define", (int)NovelExprs::ARTICLE_DEFINE).reloadRule(
|
||||
std::make_shared<const Seqs>(
|
||||
Rules{ MR(leftb), MR(article_key), MR(name_text) } <<
|
||||
std::make_shared<const Seqs>(Rules{
|
||||
MR(leftb), MR(article_key), MR(name_text) } <<
|
||||
OptMulR(std::make_shared<const Any>(Rules{ fragment_refer, decl_expr })) <<
|
||||
MR(rightb)
|
||||
));
|
||||
|
||||
auto volume_decl = ElementRule<VolumeDefine>(u8"volume_define", (int)NovelExprs::VOLUME_DEFINE).reloadRule(
|
||||
std::make_shared<const Seqs>(
|
||||
Rules{ MR(leftb), MR(volume_key), MR(name_text) } <<
|
||||
std::make_shared<const Seqs>(Rules{
|
||||
MR(leftb), MR(volume_key), MR(name_text) } <<
|
||||
OptMulR(std::make_shared<const Any>(Rules{ decl_expr, article_decl })) <<
|
||||
MR(rightb)
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue