Commit 0557a98e authored by dcw's avatar dcw
Browse files

idtree.leaf now has a string and an intlist;

updated this to reflect that
parent f976bd8f
#include <stdio.h> #include <stdio.h>
#include "x.h" #include "cx.h"
intlist int1, int2, int3; intlist int1, int2, int3;
...@@ -48,11 +48,11 @@ test_idtree() ...@@ -48,11 +48,11 @@ test_idtree()
{ {
idtree id1, id2, id3, id4, id5, id6; idtree id1, id2, id3, id4, id5, id6;
id1 = idtree_leaf( "hello" ); id1 = idtree_leaf( "hello", int1 );
id2 = idtree_leaf( "there" ); id2 = idtree_leaf( "there", int2 );
id3 = idtree_node( id1, id2 ); id3 = idtree_node( id1, id2 );
id4 = idtree_node( id3, id1 ); id4 = idtree_node( id3, id1 );
id5 = idtree_leaf( "zebedee" ); id5 = idtree_leaf( "zebedee", int3 );
id6 = idtree_node( id4, id5 ); id6 = idtree_node( id4, id5 );
printf( "idtrees:\n" ); printf( "idtrees:\n" );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment