2020-01-10 02:30:49 -05:00
|
|
|
use crate::err::ProcessingResult;
|
|
|
|
use crate::proc::Processor;
|
|
|
|
|
2020-01-12 01:39:23 -05:00
|
|
|
include!(concat!(env!("OUT_DIR"), "/gen_pattern_SCRIPT_END.rs"));
|
2020-01-10 02:30:49 -05:00
|
|
|
|
|
|
|
pub fn process_script(proc: &mut Processor) -> ProcessingResult<()> {
|
2020-01-12 01:39:23 -05:00
|
|
|
// `process_tag` will require closing tag.
|
|
|
|
chain!(proc.match_while_not_seq(SCRIPT_END).keep());
|
2020-01-10 02:30:49 -05:00
|
|
|
Ok(())
|
|
|
|
}
|