From 51e723e688a4bdead12bb56d5e6dc59c5d5aef88 Mon Sep 17 00:00:00 2001 From: Ben Connors Date: Wed, 30 Oct 2019 21:29:03 -0400 Subject: Implement most of run mode - Audio doesn't play the past the first time - Advance is a bit late --- interface/input/parsers.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'interface/input/parsers.py') diff --git a/interface/input/parsers.py b/interface/input/parsers.py index f97dbf1..7dc7d82 100755 --- a/interface/input/parsers.py +++ b/interface/input/parsers.py @@ -1,3 +1,5 @@ +from blc2.constants import INFTY + def parse_interval(s): if not s: return None, s @@ -107,6 +109,8 @@ def parse_time(s): v, s, d = parse_num(s) if v is None: + if s[0].lower() == 'i': + return INFTY, s[1:], "infinity" return None, s, None if not s: -- cgit v1.2.3