From 52c67c831b9ab73f834d7b9d4f84fcf7e66304a5 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sat, 20 Oct 2018 19:06:35 -0400 Subject: [PATCH] add a header --- OscCommentMacroListener.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/OscCommentMacroListener.py b/OscCommentMacroListener.py index d596f68..296d461 100644 --- a/OscCommentMacroListener.py +++ b/OscCommentMacroListener.py @@ -1,6 +1,20 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +"""OscCommentMacroListener.py: Hog 4 comment macro antlr4 listener for OSC.""" + +__author__ = "Kevin Matz" +__copyright__ = "Copyright 2018, Company 235, LLC" +__credits__ = ["Kevin Matz"] + +__license__ = "MIT" +__version__ = "0.0.1" +__maintainer__ = "Kevin Matz" +__email__ = "kevin@company235.com" + +__status__ = "Prototype" + + import antlr4 from CommentMacroParser import CommentMacroParser from CommentMacroListener import CommentMacroListener @@ -202,6 +216,7 @@ class OscCommentMacroListener(CommentMacroListener): def enterMacro(self, ctx: CommentMacroParser.MacroContext): ctx.device = None ctx.number = None + ctx.master = None ctx.targets = [] ctx.time = None