fix ImportDots

This commit is contained in:
Jeong YunWon 2023-05-10 20:30:53 +09:00
parent cbc4cb286b
commit aa101e4f26
2 changed files with 3 additions and 3 deletions

View file

@ -266,7 +266,7 @@ ImportFromLocation: (Option<ast::Int>, Option<ast::Identifier>) = {
ImportDots: ast::Int = {
"..." => ast::Int::new(3),
"." => ast::Int::new(3),
"." => ast::Int::new(1),
};
ImportAsNames: Vec<ast::Alias> = {

4
parser/src/python.rs generated
View file

@ -1,5 +1,5 @@
// auto-generated: "lalrpop 0.20.0"
// sha3: 7764ff3f82c4bfb364f8e2c55698c0cf314d591d7aeacd8abf4c9dfe354d25e2
// sha3: 0198c5dceea306627c61f209b8fb7f17dffba455b06a7ba59f55447f864b84db
use crate::{
ast,
lexer::{LexicalError, LexicalErrorType},
@ -37335,7 +37335,7 @@ fn __action60<
(_, __0, _): (TextSize, token::Tok, TextSize),
) -> ast::Int
{
ast::Int::new(3)
ast::Int::new(1)
}
#[allow(clippy::too_many_arguments)]