Is there something wrong with my syntax? Won't compile, apparently because of line:
sizeof(node->sprouts) / sizeof(node)
node defined as follows:
typedef struct node
struct node *sprout;
// and error:
dictionary.c:96:42: error: expected ')' cor_idx = sizeof(node->spro... ^ dictionary.c:96:37: note: to match this '(' cor_idx = sizeof(node->spro...
I've tried assinging
sizeof(node->sprouts) to a variable and declaring it as
sizeof((*node).sprouts) with no luck.