ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libBASS/make_nodes.c
(Generate patch)

Comparing trunk/OOPSE/libBASS/make_nodes.c (file contents):
Revision 1255 by gezelter, Tue May 11 04:21:52 2004 UTC vs.
Revision 1256 by gezelter, Thu Jun 10 14:59:14 2004 UTC

# Line 244 | Line 244 | struct node_tag* rigidbody_blk( int index, struct node
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 );
# Line 259 | Line 259 | struct node_tag* cutoffgroup_blk( int index, struct no
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 );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines