typedef enum {VarK,IdK,OpK,ConstK,ComK} NodeKind;
Every node in my tree has a "kind" pointer. But when I try to use the following print statement, nothing is printed:
printf("%s", ptree->kind);
Is there a special way to print out special types like this? Thanks to anyone for any help!


Sign In
Create Account

Back to top









