about summary refs log tree commit diff
path: root/users/grfn/achilles/src/parser/util.rs
blob: bb53fb7fff50a1d7105a024d1287f26a6779f88b (plain) (blame)
1
2
3
4
5
6
7
8
use nom::character::complete::multispace0;
use nom::{complete, map, named, tag, tuple};

named!(pub(crate) comma(&str) -> (), map!(tuple!(
    multispace0,
    complete!(tag!(",")),
    multispace0
) ,|_| ()));