From 1816931fc0645f187c0ca9395cba14cd16a87be4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 3 Dec 2014 17:45:57 +0100 Subject: mds-kbdc: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-kbdc/make-tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mds-kbdc') 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; -- cgit v1.2.3-70-g09d2