From a6106b6139f1eab2ccef1737fb53d6ecd7f5d210 Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Wed, 6 Sep 2023 10:54:04 +0900 Subject: [PATCH] Update token.rs --- crates/erg_parser/token.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/erg_parser/token.rs b/crates/erg_parser/token.rs index 8740549a7..074d071b0 100644 --- a/crates/erg_parser/token.rs +++ b/crates/erg_parser/token.rs @@ -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, }