diff --git a/saphyr/src/scanner.rs b/saphyr/src/scanner.rs index 4663b9f..516f6e5 100644 --- a/saphyr/src/scanner.rs +++ b/saphyr/src/scanner.rs @@ -60,6 +60,10 @@ impl ScanError { info: info.to_owned() } } + + pub fn marker(&self) -> Marker { + self.mark + } } impl Error for ScanError {