Jakob Stoklund Olesen
38952eea00
Add an explainer mode to filecheck.
...
The -c flag to 'cton-util filecheck' will now print out a description of how
the directives are matching the input.
This explanation is also printed when a match fails.
2016-09-09 17:08:29 -07:00
Jakob Stoklund Olesen
1ce5bc3509
pub
2016-09-09 14:32:07 -07:00
Jakob Stoklund Olesen
d9cceb18d3
Add a MatchRange type alias.
...
The regex library also uses (usize, usize) for ranges. The type alias is just
to make it clearer what the tuple means.
2016-09-09 14:11:56 -07:00
Jakob Stoklund Olesen
71b742ec34
Add a libfilecheck crate.
...
This library implements functionality similar to LLVM's FileCheck utility, but
in library form.
2016-09-09 10:45:10 -07:00