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