Set up the initial code structure for the clock.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use super::clock::clock;
|
||||
use super::comment::comment;
|
||||
use super::drawer::drawer;
|
||||
use super::dynamic_block::dynamic_block;
|
||||
@@ -45,6 +46,7 @@ pub fn non_paragraph_element<'r, 's>(
|
||||
let example_block_matcher = parser_with_context!(example_block)(context);
|
||||
let export_block_matcher = parser_with_context!(export_block)(context);
|
||||
let src_block_matcher = parser_with_context!(src_block)(context);
|
||||
let clock_matcher = parser_with_context!(clock)(context);
|
||||
alt((
|
||||
map(plain_list_matcher, Element::PlainList),
|
||||
map(greater_block_matcher, Element::GreaterBlock),
|
||||
@@ -58,5 +60,6 @@ pub fn non_paragraph_element<'r, 's>(
|
||||
map(example_block_matcher, Element::ExampleBlock),
|
||||
map(export_block_matcher, Element::ExportBlock),
|
||||
map(src_block_matcher, Element::SrcBlock),
|
||||
map(clock_matcher, Element::Clock),
|
||||
))(input)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user