kopia lustrzana https://github.com/micropython/micropython
tools/mpy-tool.py: Initialize line_info_top.
Without it the line number mapping doesn't work. Signed-off-by: Martin Milata <martin@martinmilata.cz>pull/10639/head
rodzic
6abf03b5d0
commit
850f09b109
|
@ -936,6 +936,10 @@ class RawCode(object):
|
|||
" .line_info = fun_data_%s + %u,"
|
||||
% (self.escaped_name, self.offset_line_info)
|
||||
)
|
||||
print(
|
||||
" .line_info_top = fun_data_%s + %u,"
|
||||
% (self.escaped_name, self.offset_closure_info)
|
||||
)
|
||||
print(
|
||||
" .opcodes = fun_data_%s + %u," % (self.escaped_name, self.offset_opcodes)
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue