1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00
This commit is contained in:
psyc://psyced.org/~lynX 2010-05-21 11:30:21 +02:00
parent d6533a3562
commit bc146ae8d1

View file

@ -70,6 +70,7 @@ varargs mixed lookup_identification(mixed source, vamixed givenUNI) {
#endif #endif
varargs string psyc_name(mixed source, vastring localpart) { varargs string psyc_name(mixed source, vastring localpart) {
P3((">> psyc_name(%O, %O)\n", source, localpart))
string s; string s;
if (s = obj2unl[source]) return s; if (s = obj2unl[source]) return s;
@ -106,6 +107,7 @@ varargs string psyc_name(mixed source, vastring localpart) {
// why store it with an ip? nobody uses that anyway!? // why store it with an ip? nobody uses that anyway!?
// is it being used anywhere in the parser? naaah. // is it being used anywhere in the parser? naaah.
s = myUNL + s; s = myUNL + s;
P3((">>> psyc_name for %O is %O\n", source, s))
unl2obj[s] = source; unl2obj[s] = source;
return obj2unl[source] = s; return obj2unl[source] = s;
} }