We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaecd64 commit 7fd639dCopy full SHA for 7fd639d
1 file changed
src/zxbc/zxbc.py
@@ -25,7 +25,7 @@
25
from src.zxbc import zxbparser
26
from src.zxbc import zxblex
27
from src.zxbc.args_config import parse_options, FileType
28
-
+from src.zxbpp.zxbpp import PreprocMode
29
30
RE_INIT = re.compile(
31
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):
93
args = [options.PROGRAM] # Strip out other options, because they're already set in the OPTIONS container
94
input_filename = options.PROGRAM
95
96
- zxbpp.setMode("basic")
+ zxbpp.setMode(PreprocMode.BASIC)
97
zxbpp.main(args)
98
99
if gl.has_errors:
0 commit comments