Skip to content

Commit

Permalink
Update token.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Sep 6, 2023
1 parent befdedf commit a6106b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/erg_parser/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand All @@ -414,7 +414,7 @@ impl Token {
Self {
kind,
content: Str::ever(content),
lineno: 1,
lineno: 0,
col_begin: 0,
col_end: 0,
}
Expand Down

0 comments on commit a6106b6

Please sign in to comment.