mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v2: fix more ast positions
This commit is contained in:
@@ -71,6 +71,7 @@ fn (m mut map) set(key string, value voidptr) {
|
||||
mut child_index := 0
|
||||
mut parent := &mapnode(0)
|
||||
for {
|
||||
|
||||
if node.size == max_size {
|
||||
if isnil(parent) {
|
||||
parent = new_node()
|
||||
|
||||
Reference in New Issue
Block a user