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
e36ff98c
Commit
e36ff98c
authored
May 10, 2016
by
Damien George
Browse files
py/parse: Add uerrno to list of modules to look for constants in.
parent
596a3feb
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/parse.c
View file @
e36ff98c
...
...
@@ -449,6 +449,9 @@ STATIC void push_result_token(parser_t *parser) {
#if MICROPY_COMP_MODULE_CONST
STATIC
const
mp_rom_map_elem_t
mp_constants_table
[]
=
{
#if MICROPY_PY_UERRNO
{
MP_ROM_QSTR
(
MP_QSTR_errno
),
MP_ROM_PTR
(
&
mp_module_uerrno
)
},
#endif
#if MICROPY_PY_UCTYPES
{
MP_ROM_QSTR
(
MP_QSTR_uctypes
),
MP_ROM_PTR
(
&
mp_module_uctypes
)
},
#endif
...
...
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