summaryrefslogtreecommitdiff
path: root/gcc/tree-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-browser.c')
-rw-r--r--gcc/tree-browser.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-browser.c b/gcc/tree-browser.c
index 89c3bf3a307..ae3d270843d 100644
--- a/gcc/tree-browser.c
+++ b/gcc/tree-browser.c
@@ -71,11 +71,14 @@ struct tb_tree_code {
};
#define DEFTREECODE(SYM, STRING, TYPE, NARGS) { SYM, STRING, sizeof (STRING) - 1 },
+#define END_OF_BASE_TREE_CODES \
+ { LAST_AND_UNUSED_TREE_CODE, "@dummy", sizeof ("@dummy") - 1 },
static const struct tb_tree_code tb_tree_codes[] =
{
-#include "tree.def"
+#include "all-tree.def"
};
#undef DEFTREECODE
+#undef END_OF_BASE_TREE_CODES
#define TB_TREE_CODE(N) (tb_tree_codes[N].code)
#define TB_TREE_CODE_TEXT(N) (tb_tree_codes[N].code_string)