Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b68e32298 | ||
|
|
07c07cc06b |
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.0.2)
|
||||
project(rjp)
|
||||
set(rjp_VERSION_MAJOR 0)
|
||||
set(rjp_VERSION_MINOR 8)
|
||||
set(rjp_VERSION_REVISION 2)
|
||||
set(rjp_VERSION_REVISION 3)
|
||||
set(INCLUDE_PATH ${CMAKE_SOURCE_DIR}/include)
|
||||
configure_file(
|
||||
"${INCLUDE_PATH}/config.h.in"
|
||||
|
||||
@@ -104,6 +104,11 @@ static RJP_tree_node* irjp_object_iterator_next(RJP_object_iterator_impl* it){
|
||||
RJP_tree_node* last = irjp_pop_tree_stack(&it->stack);
|
||||
if(last->right){
|
||||
irjp_push_tree_stack(&it->stack, last->right);
|
||||
last = last->right;
|
||||
while(last->left){
|
||||
irjp_push_tree_stack(&it->stack, last->left);
|
||||
last = last->left;
|
||||
}
|
||||
}
|
||||
return irjp_object_iterator_current(it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user