aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-03 17:45:57 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-03 17:46:11 +0100
commit1816931fc0645f187c0ca9395cba14cd16a87be4 (patch)
tree568d5636a6754c5deea1e58d536cb4d11e11e8eb /src/mds-kbdc
parentmds-kbdc: make-tree: whitespace (diff)
downloadmds-1816931fc0645f187c0ca9395cba14cd16a87be4.tar.gz
mds-1816931fc0645f187c0ca9395cba14cd16a87be4.tar.bz2
mds-1816931fc0645f187c0ca9395cba14cd16a87be4.tar.xz
mds-kbdc: m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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;