Check the exit matcher in more places.

This commit is contained in:
Tom Alexander
2023-03-23 20:12:42 -04:00
parent 3502a31b28
commit ceb7788cfa
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
use nom::combinator::not;
use super::error::Res;
use super::source::Source;
use super::Context;
@@ -38,5 +40,6 @@ pub fn standard_set_object<'r, 's>(
context: Context<'r, 's>,
input: &'s str,
) -> Res<&'s str, Object<'s>> {
not(|i| context.check_exit_matcher(i))(input)?;
todo!()
}