diff --git a/src/atom/parsers.rs b/src/atom/parsers.rs index 9772f96..c7ff586 100644 --- a/src/atom/parsers.rs +++ b/src/atom/parsers.rs @@ -57,6 +57,7 @@ impl<'a> Parseable<'a, &'a str> for BuildId { start .and(rest) .recognize() + .or(tag("0")) .map(|output: &str| BuildId(output.to_string())) } }