Add source file name and line number to error messages.
Byte code has a map from byte-code offset to source-code line number, used to give better error messages.
This commit is contained in:
@@ -1 +1 @@
|
||||
mp_obj_t mp_compile(mp_parse_node_t pn, bool is_repl);
|
||||
mp_obj_t mp_compile(mp_parse_node_t pn, qstr source_file, bool is_repl);
|
||||
|
||||
Reference in New Issue
Block a user