Skip to content
Snippets Groups Projects
Commit 1de50455 authored by Patrick Lam's avatar Patrick Lam
Browse files

add full log and loosen encoding requirements

parent 5b748c3f
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -142,9 +142,9 @@ fn dictionary_builder(raw_fn: String, format: String, regexps: Vec<Regex>) -> (H
process_dictionary_builder_line(ip, None, &regex, &regexps, &mut dbl, &mut trpl, &mut all_token_list),
Some(Ok(next_line)) =>
process_dictionary_builder_line(ip, Some(next_line.clone()), &regex, &regexps, &mut dbl, &mut trpl, &mut all_token_list),
Some(&Err(_)) => panic!("should not happen")
Some(Err(_)) => {} // meh, some weirdly-encoded line, throw it out
}
Some(Err(_)) => panic!("should not happen")
Some(Err(_)) => {} // meh, some weirdly-encoded line, throw it out
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment