1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

DOT => .dot

This commit is contained in:
Alexander Medvednikov 2019-07-10 02:07:54 +02:00
parent c44d54fb4c
commit 87762d6cf3

View File

@ -299,7 +299,7 @@ fn (p mut Parser) import_statement() {
// limit depth to 4 for now
max_module_depth := 4
mut depth := 1
for p.peek() == DOT {
for p.peek() == .dot {
p.next() // SKIP DOT
p.next() // SUBMODULE
submodule := p.lit.trim_space()