Skip to content

Commit aa101e4

Browse files
committed
fix ImportDots
1 parent cbc4cb2 commit aa101e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

parser/src/python.lalrpop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ ImportFromLocation: (Option<ast::Int>, Option<ast::Identifier>) = {
266266

267267
ImportDots: ast::Int = {
268268
"..." => ast::Int::new(3),
269-
"." => ast::Int::new(3),
269+
"." => ast::Int::new(1),
270270
};
271271

272272
ImportAsNames: Vec<ast::Alias> = {

parser/src/python.rs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)