mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-15 09:05:06 +01:00
add support for - input
This commit is contained in:
parent
d0be270de2
commit
2b39ddebb2
8 changed files with 50 additions and 27 deletions
|
|
@ -63,7 +63,6 @@ impl Debug for Span {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Error {
|
||||
pub msg: String,
|
||||
|
|
@ -103,7 +102,6 @@ impl Error {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
impl DebugPls for Error {
|
||||
fn fmt(&self, f: dbg_pls::Formatter<'_>) {
|
||||
f.debug_struct("Error")
|
||||
|
|
@ -113,7 +111,6 @@ impl DebugPls for Error {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
fn lex_and_pre(src: &str) -> impl Iterator<Item = (Token<'_>, Span)> + '_ {
|
||||
let pre_tokens = pre::preprocess_tokens(src);
|
||||
token::pre_tokens_to_tokens(pre_tokens)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue