Skip to content

Commit 00f593b

Browse files
committed
refact: use Enum value in zxbpp initalization
1 parent 19fb8ee commit 00f593b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zxbc/zxbc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def main(args=None, emitter=None):
165165
asm_output = "\n".join(asm_output)
166166

167167
# Now filter them against the preprocessor again
168-
zxbpp.setMode("asm")
168+
zxbpp.setMode(zxbpp.PreprocMode.ASM)
169169
zxbpp.OUTPUT = ""
170170
zxbpp.filter_(asm_output, filename=input_filename)
171171

0 commit comments

Comments
 (0)