| 244 |
|
the_node = ( struct node_tag* )malloc( sizeof( node ) ); |
| 245 |
|
|
| 246 |
|
the_node->type = RIGIDBODY_HEAD; |
| 247 |
< |
the_node->index = 0; |
| 247 |
> |
the_node->index = index; |
| 248 |
|
the_node->next_stmt = NULL; |
| 249 |
|
the_node->prev_stmt = NULL; |
| 250 |
|
the_node->stmt_list = walk_to_top( stmt_list ); |
| 259 |
|
|
| 260 |
|
// The guillotine statement: |
| 261 |
|
the_node->type = CUTOFFGROUP_HEAD; |
| 262 |
< |
the_node->index = 0; |
| 262 |
> |
the_node->index = index; |
| 263 |
|
the_node->next_stmt = NULL; |
| 264 |
|
the_node->prev_stmt = NULL; |
| 265 |
|
the_node->stmt_list = walk_to_top( stmt_list ); |