Commit 2c208485 authored by mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f
Browse files

Provide a more useful implementation of LispObject.toString().

Since most JVM debuggers use the java.lang.Object.toString() contract
to provide meaningful information for users, we have out default
implementation call the princToString() implementation.
parent cb1799cd
......@@ -748,6 +748,11 @@ public class LispObject //extends Lisp
thread.resetSpecialBindings(mark);
}
}
public String toString()
{
return princToString();
}
public String printObject()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment