aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-kbdc/tree.h')
-rw-r--r--src/mds-kbdc/tree.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mds-kbdc/tree.h b/src/mds-kbdc/tree.h
index 1f31e34..7bdbf3d 100644
--- a/src/mds-kbdc/tree.h
+++ b/src/mds-kbdc/tree.h
@@ -170,8 +170,16 @@ typedef union mds_kbdc_tree mds_kbdc_tree_t;
* It defines:
* - int type; -- Integer that specifies which structure is used
* - mds_kbdc_tree_t*; -- The next node in the tree, at the same level; a sibling
- */
-#define MDS_KBDC_TREE_COMMON int type; mds_kbdc_tree_t* next
+ * - loc_line; -- The line in the source code where this is found
+ * - loc_start; -- The first byte in the source code where this is found, inclusive
+ * - loc_end; -- The last byte in the source code where this is found, exclusive
+ */
+#define MDS_KBDC_TREE_COMMON \
+ int type; \
+ mds_kbdc_tree_t* next; \
+ size_t loc_line; \
+ size_t loc_start; \
+ size_t loc_end
/**
* This macro is used in this header file, and is then