mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-14 21:31:05 +00:00
bd4e108bb0
- Factor the YUL crate out of `revive-solidity`. - `revive-solidity` is in reality not a Solidity implementation but the revive solidity compiler driver (`resolc`). By renaming we not only get this straight but also a binary with the same name as the crate which should be less confusing. --------- Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
17 lines
435 B
Rust
17 lines
435 B
Rust
//! The Yul IR lexer error.
|
|
|
|
use crate::lexer::token::location::Location;
|
|
|
|
/// The Yul IR lexer error.
|
|
#[derive(Debug, thiserror::Error, PartialEq, Eq)]
|
|
pub enum Error {
|
|
/// The invalid lexeme error.
|
|
#[error("{location} Invalid character sequence `{sequence}`")]
|
|
InvalidLexeme {
|
|
/// The lexeme location.
|
|
location: Location,
|
|
/// The invalid sequence of characters.
|
|
sequence: String,
|
|
},
|
|
}
|