mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-24 04:00:28 +00:00
Fix abbreviation when pad decreases
This is a bizarre way to work, but it should be valid.
This commit is contained in:
@@ -106,6 +106,7 @@ class Bracketer(object):
|
||||
continue # new nodename has no new number, keep going
|
||||
else: # if self.sequences[n][2] != nums[n] or :
|
||||
if self.diffn is not None and (n != self.diffn or
|
||||
(padto < self.numlens[n][1]) or
|
||||
(needpad and padto != self.numlens[n][1])):
|
||||
self.flush_current()
|
||||
self.sequences[n] = [[], nums[n], nums[n]]
|
||||
|
Reference in New Issue
Block a user