Rename all the tree enums to have a prefix.

This prevents some possible naming collisions.
This commit is contained in:
2018-03-08 21:13:25 -08:00
parent 2d26e45e90
commit f3f1cc8c43
3 changed files with 36 additions and 36 deletions

View File

@@ -9,20 +9,20 @@
* Enum to represent the variant of a tree node.
*/
enum libab_tree_variant_e {
NONE,
BASE,
ID,
NUM,
OP,
UNARY_OP,
BLOCK,
VOID,
IF,
WHILE,
DOWHILE,
CALL,
FUN,
FUN_PARAM
TREE_NONE,
TREE_BASE,
TREE_ID,
TREE_NUM,
TREE_OP,
TREE_UNARY_OP,
TREE_BLOCK,
TREE_VOID,
TREE_IF,
TREE_WHILE,
TREE_DOWHILE,
TREE_CALL,
TREE_FUN,
TREE_FUN_PARAM
};
/**