fix typo in parse_powerisa_pdf.py
This commit is contained in:
parent
442afe5f06
commit
e9830566c0
1 changed files with 1 additions and 1 deletions
|
|
@ -1503,7 +1503,7 @@ class Parser:
|
||||||
f"instruction bit fields box has wrong number of horizontal lines:\n{h_lines}")
|
f"instruction bit fields box has wrong number of horizontal lines:\n{h_lines}")
|
||||||
if len(v_lines) < 2:
|
if len(v_lines) < 2:
|
||||||
raise InsnParseError(
|
raise InsnParseError(
|
||||||
f"instruction bit fields box has too few vertical lines:\n{h_lines}")
|
f"instruction bit fields box has too few vertical lines:\n{v_lines}")
|
||||||
bottom_line, top_line = h_lines
|
bottom_line, top_line = h_lines
|
||||||
box_min_x = v_lines[0].x0
|
box_min_x = v_lines[0].x0
|
||||||
box_max_x = v_lines[-1].x0
|
box_max_x = v_lines[-1].x0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue