Hello,
I'm getting this error:
too many basic types
Here's some of my code:
struct math_op {
int type;
union math_value {
char op;
int num;
char* varname;
};
};
struct node {
void *data;
struct node* next;
};
union var_data {
double my_double;
int my_int;
char* my_string;
};
/*
struct var_value
{
int var_type;
union var_data my_data;
}
*/
struct table_entry{
char
*name;
struct var_value entry;
};
If I uncomment the commented part, I get the error. Is there a limit on the number of structs or unions you can define?
Thanks,
Josh