Fixed naming bug
This commit is contained in:
parent
c862650e0d
commit
5711e584eb
2
main.py
2
main.py
|
@ -307,7 +307,7 @@ def emit_rust(base_addr, ending_addr, registers):
|
||||||
fields.append('')
|
fields.append('')
|
||||||
fields += lines
|
fields += lines
|
||||||
lines = []
|
lines = []
|
||||||
code.append(f' pub {reg["name"].lower()}: {typename},')
|
code.append(f' pub {r["name"].lower()}: {typename},')
|
||||||
else:
|
else:
|
||||||
addr = reg['abs']
|
addr = reg['abs']
|
||||||
if addr > ending_addr:
|
if addr > ending_addr:
|
||||||
|
|
Loading…
Reference in New Issue