aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-kbdc')
-rw-r--r--src/mds-kbdc/make-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mds-kbdc/make-tree.c b/src/mds-kbdc/make-tree.c
index 964de3e..e6705fc 100644
--- a/src/mds-kbdc/make-tree.c
+++ b/src/mds-kbdc/make-tree.c
@@ -1186,6 +1186,7 @@ static int parse_map(void)
#define inner result
stack_ptr--;
*end = prev_end_char;
+ supernode->loc_end = (size_t)(end - LINE);
SKIP_SPACES(line);
if (colon = line, *line++ != ':')
{
@@ -1200,6 +1201,7 @@ static int parse_map(void)
SEQUENCE_FULLY_POPPED;
stack_ptr--;
*end = prev_end_char;
+ supernode->loc_end = (size_t)(end - LINE);
SKIP_SPACES(line);
#define node supernode
LEAF;