summaryrefslogtreecommitdiff
path: root/chain
diff options
context:
space:
mode:
Diffstat (limited to 'chain')
-rw-r--r--chain/src/item/genins.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/src/item/genins.rs b/chain/src/item/genins.rs
index 1996545..0de7198 100644
--- a/chain/src/item/genins.rs
+++ b/chain/src/item/genins.rs
@@ -335,7 +335,7 @@ impl DefaultForest<ForestLabel<GrammarLabel>> {
if let Some(frag) = virtual_frag {
let mut frag = (*frag.get(0).unwrap()).clone();
- frag.set_pos(atom, node_label.label().start(), false)?;
+ frag.set_pos(atom, node_label.label().start(), true)?;
let frag_nodes_len = frag.nodes_len();