[lexer] Add Error::msg()
This commit is contained in:
parent
4cd46d85a9
commit
4fa07ceec7
1 changed files with 2 additions and 0 deletions
|
@ -13,4 +13,6 @@ impl Error {
|
|||
message: msg
|
||||
}
|
||||
}
|
||||
|
||||
pub fn msg(&self) -> &str { &self.message }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue