fix typo in parse_powerisa_pdf.py

This commit is contained in:
Jacob Lifshay 2026-01-05 06:57:29 -08:00
parent 442afe5f06
commit e9830566c0
Signed by: programmerjake
SSH key fingerprint: SHA256:HnFTLGpSm4Q4Fj502oCFisjZSoakwEuTsJJMSke63RQ

View file

@ -1503,7 +1503,7 @@ class Parser:
f"instruction bit fields box has wrong number of horizontal lines:\n{h_lines}")
if len(v_lines) < 2:
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
box_min_x = v_lines[0].x0
box_max_x = v_lines[-1].x0