1
0
Fork 0

include LISTENER and WALKER in package

This commit is contained in:
Kevin Matz 2022-05-12 19:52:38 -04:00
parent a2146940f7
commit 8b7ecad7bc
4 changed files with 17 additions and 4 deletions

View File

@ -7,6 +7,8 @@ from .bacon import (
SyntaxErrorListener,
load_config,
comment,
WALKER,
LISTENER,
)
__all__ = [
@ -16,4 +18,6 @@ __all__ = [
"SyntaxErrorListener",
"load_config",
"comment",
"WALKER",
"LISTENER",
]

View File

@ -2,7 +2,13 @@
from .hog4 import HogNet
from .OscListener import beautify_lisp_string, OscCommentMacroListener
from .script import SyntaxErrorListener, load_config, comment
from .script import (
SyntaxErrorListener,
load_config,
comment,
WALKER,
LISTENER
)
__all__ = [
"HogNet",
@ -17,4 +23,6 @@ __all__ = [
"SyntaxErrorListener",
"load_config",
"comment",
"WALKER",
"LISTENER",
]

View File

@ -16,6 +16,8 @@ __all__ = [
"SyntaxErrorListener",
"load_config",
"comment",
"WALKER",
"LISTENER",
]
class SyntaxErrorListener(ErrorListener):

5
bs.py
View File

@ -5,9 +5,8 @@
import logging
import sys
from bacon.script import comment, LISTENER
from bacon.script import load_config as loadBsConfig
from bacon.hog4 import HogNet
from .bacon import comment, LISTENER, HogNet
from .bacon import load_config as loadBsConfig
# setup logging