From 6eb8b35aea8eba6066d3919324198b5ef700819a Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Thu, 25 Oct 2018 12:52:43 -0400 Subject: [PATCH] pass times to macro context, even though they do nothing with it yet. --- OscCommentMacroListener.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OscCommentMacroListener.py b/OscCommentMacroListener.py index d7bd8f6..717d3c1 100644 --- a/OscCommentMacroListener.py +++ b/OscCommentMacroListener.py @@ -110,6 +110,8 @@ class OscCommentMacroListener(CommentMacroListener): else: logger.error("ERROR: Spans must be ranged with intigers.") + def exitTime(self, ctx: CommentMacroParser.TimeContext): + ctx.parentCtx.time = ctx def exitDevice(self, ctx: CommentMacroParser.DeviceContext): ctx.parentCtx.device = ctx