Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
3a309d93
Commit
3a309d93
authored
Dec 07, 2015
by
Paul Sokolovsky
Browse files
unix/main: mp_verbose_flag available only if MICROPY_DEBUG_PRINTERS is true.
Not available for minimal build for example.
parent
9f001b09
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/main.c
View file @
3a309d93
...
...
@@ -524,8 +524,10 @@ int main(int argc, char **argv) {
break
;
}
else
if
(
strcmp
(
argv
[
a
],
"-X"
)
==
0
)
{
a
+=
1
;
#if MICROPY_DEBUG_PRINTERS
}
else
if
(
strcmp
(
argv
[
a
],
"-v"
)
==
0
)
{
mp_verbose_flag
++
;
#endif
}
else
if
(
strncmp
(
argv
[
a
],
"-O"
,
2
)
==
0
)
{
if
(
unichar_isdigit
(
argv
[
a
][
2
]))
{
MP_STATE_VM
(
mp_optimise_value
)
=
argv
[
a
][
2
]
&
0xf
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment