mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-07-30 09:25:42 +00:00
Emerge Yul recompiler (#1)
Provide a modified (and incomplete) version of ZKSync zksolc that can compile the most basic contracts
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//!
|
||||
//! The Yul IR lexer error.
|
||||
//!
|
||||
|
||||
use crate::yul::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,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user