Skip to content

Commit 7fd639d

Browse files
committed
fix: typing
1 parent aaecd64 commit 7fd639d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/zxbc/zxbc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from src.zxbc import zxbparser
2626
from src.zxbc import zxblex
2727
from src.zxbc.args_config import parse_options, FileType
28-
28+
from src.zxbpp.zxbpp import PreprocMode
2929

3030
RE_INIT = re.compile(
3131
r'^#[ \t]*init[ \t]+((?:[._a-zA-Z][._a-zA-Z0-9]*)|(?:"[._a-zA-Z][._a-zA-Z0-9]*"))[ \t]*$', re.IGNORECASE
@@ -93,7 +93,7 @@ def main(args=None, emitter=None):
9393
args = [options.PROGRAM] # Strip out other options, because they're already set in the OPTIONS container
9494
input_filename = options.PROGRAM
9595

96-
zxbpp.setMode("basic")
96+
zxbpp.setMode(PreprocMode.BASIC)
9797
zxbpp.main(args)
9898

9999
if gl.has_errors:

0 commit comments

Comments
 (0)