Commit 1937110a authored by ehuelsmann@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar ehuelsmann@1c010e3e-69d0-11dd-93a8-456734b0d56f
Browse files

Make Symbol.toString() print something developer-readable to

help debugging in NetBeans.
parent 662bbee8
......@@ -942,6 +942,19 @@ public class Symbol extends LispObject implements java.io.Serializable
return this;
}
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
if (pkg instanceof Package) {
sb.append(((Package)pkg).getName());
sb.append(":");
} else {
sb.append("#:");
}
sb.append(name);
return sb.toString();
}
// External symbols in CL package.
......
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