mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
py: Add module/function/class name to exceptions.
Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them.
This commit is contained in:
@@ -44,7 +44,7 @@ void do_file(const char *file) {
|
||||
|
||||
if (pn != MP_PARSE_NODE_NULL) {
|
||||
//printf("----------------\n");
|
||||
//parse_node_show(pn, 0);
|
||||
//mp_parse_node_print(pn, 0);
|
||||
//printf("----------------\n");
|
||||
|
||||
// compile
|
||||
|
||||
Reference in New Issue
Block a user