This commit is contained in:
Jonathan Turner 2019-06-22 15:49:49 +12:00
parent 9ae9beb94a
commit 1c0096b2fb
2 changed files with 1 additions and 2 deletions

View file

@ -0,0 +1 @@
paths = ["C:\\Users\\wycat\\Code\\nom_locate"]

View file

@ -71,9 +71,7 @@ pub fn raw_integer(input: NomSpan) -> IResult<NomSpan, Spanned<i64>> {
let start = input.offset;
trace_step(input, "raw_integer", move |input| {
let (input, neg) = opt(tag("-"))(input)?;
println!("(input,neg) = {:?} {:?}", input, neg);
let (input, num) = digit1(input)?;
println!("(input,num) = {:?} {:?}", input, num);
let end = input.offset;
Ok((