mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
Update token.rs
This commit is contained in:
parent
befdedfcab
commit
a6106b6139
1 changed files with 2 additions and 2 deletions
|
@ -405,7 +405,7 @@ impl Token {
|
|||
pub const DUMMY: Token = Token {
|
||||
kind: TokenKind::Illegal,
|
||||
content: Str::ever("DUMMY"),
|
||||
lineno: 1,
|
||||
lineno: 0,
|
||||
col_begin: 0,
|
||||
col_end: 0,
|
||||
};
|
||||
|
@ -414,7 +414,7 @@ impl Token {
|
|||
Self {
|
||||
kind,
|
||||
content: Str::ever(content),
|
||||
lineno: 1,
|
||||
lineno: 0,
|
||||
col_begin: 0,
|
||||
col_end: 0,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue