Branch: Tag:

2002-02-14

2002-02-14 17:24:27 by Martin Nilsson <mani@lysator.liu.se>

([])[0] -> UNDEFINED

Rev: lib/modules/ADT.pmod/Queue.pike:1.5
Rev: lib/modules/Calendar.pmod/Event.pmod:1.16
Rev: lib/modules/Calendar.pmod/Events.pmod:1.12
Rev: lib/modules/Calendar.pmod/Language.pmod:1.17
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.25
Rev: lib/modules/Calendar.pmod/module.pmod:1.7
Rev: lib/modules/GDK.pmod:1.11
Rev: lib/modules/Gnome.pmod:1.5
Rev: lib/modules/Remote.pmod/connection.pike:1.22

37:      mixed `[](string what)   { -  if(what == "_module_value") return ([])[0]; +  if(what == "_module_value") return UNDEFINED;    if(what == "Atom") return Atom;    if(!zero_type(INDEX("Gdk"+what)))    return INDEX("Gdk"+what);
45:    return INDEX("GDK_"+what);    if(!zero_type(INDEX("GDK_"+upper_case(GTK->unsillycaps(what)))))    return INDEX("GDK_"+upper_case(GTK->unsillycaps(what))); -  return ([])[0]; +  return UNDEFINED;   // return GDKSupport[what];   }