Update token.rs

This commit is contained in:
Shunsuke Shibayama 2023-09-06 10:54:04 +09:00
parent befdedfcab
commit a6106b6139

View file

@ -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,
}