mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-28 17:33:18 -06:00
bugfix
This commit is contained in:
1 parent
43671f3679
commit
b86097a580
1 file changed
+1
@@ -618,6 +618,7 @@ ref<V> namespace_lookup_index(Namespace<V> map, PgfText *name, size_t *pIndex)
|
|||||||
map = map->right;
|
map = map->right;
|
||||||
*pIndex += Node<ref<V>>::size(map->left)+1;
|
*pIndex += Node<ref<V>>::size(map->left)+1;
|
||||||
} else {
|
} else {
|
||||||
|
*pIndex += Node<ref<V>>::size(map->left);
|
||||||
return map->value;
|
return map->value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user