1
0
Fork 0

add a header

This commit is contained in:
Kevin Matz 2018-10-20 19:06:35 -04:00
parent 45eeb45e4b
commit 52c67c831b
1 changed files with 15 additions and 0 deletions

View File

@ -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