diff --git a/sam/sim/src/rd_scanner.py b/sam/sim/src/rd_scanner.py index 5e51553a..66332a5b 100644 --- a/sam/sim/src/rd_scanner.py +++ b/sam/sim/src/rd_scanner.py @@ -144,6 +144,11 @@ def update(self): self.curr_crd = stkn self.curr_ref = stkn return + elif is_0tkn(self.curr_in_ref): + self.curr_crd = '' + self.curr_ref = '' + self.emit_tkn = True + return else: self.curr_crd = 0 self.curr_ref = self.curr_crd + (self.curr_in_ref * self.meta_dim)