You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/dan/src/elisp-decompile/lapdecompile/scanner.py", line 139, in fn_scanner_internal
count = int(opname[-1])
ValueError: invalid literal for int() with base 10: 'p'
this seems to get past the listp bit but I still have other problems preventing decompiling my files
diff --git a/lapdecompile/scanner.py b/lapdecompile/scanner.py
index e8f25b6..32a772b 100644
--- a/lapdecompile/scanner.py
+++ b/lapdecompile/scanner.py
@@ -127,7 +127,7 @@ class LapScanner:
self.fn_scanner_internal(fn_name, fn_type="defun")
attr = self.fns[fn_name]
tokens.append(Token("CONSTANT", attr, offset.strip(), label=label))
- elif opname[:-1] in ("list", "concat", "cal"):
+ elif opname[:-1] in ("list", "concat", "cal") and opname != "listp":
if opname.startswith("call"):
count = int(fields[2])
opname = "%s_%d" % (opname, count)
The text was updated successfully, but these errors were encountered:
my LAP file has this little bit in in:
in particular, note the
listp
on1
. This triggerselisp-decompile/lapdecompile/scanner.py
Lines 130 to 139 in 2b39370
and we end up with
this seems to get past the
listp
bit but I still have other problems preventing decompiling my filesThe text was updated successfully, but these errors were encountered: