From ba3b00aea7ece98694766976095a46bcffc2e403 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 25 Feb 2016 07:31:37 -0500 Subject: Some plus_one lines were missing when drawing arcs --- lab/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lab') diff --git a/lab/parser.py b/lab/parser.py index 4deb93e9..0393d209 100644 --- a/lab/parser.py +++ b/lab/parser.py @@ -167,7 +167,6 @@ class ParserMain(object): that line. """ - plus_ones = set() arc_chars = collections.defaultdict(str) for lfrom, lto in sorted(arcs): @@ -178,6 +177,7 @@ class ParserMain(object): else: if lfrom == lto - 1: plus_ones.add(lfrom) + arc_chars[lfrom] += "" # ensure this line is in arc_chars continue if lfrom < lto: l1, l2 = lfrom, lto -- cgit v1.2.1