lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Left out a line.

> function end_class(name)
>    if not _class_declaration then
>       error("end_class without a begin_class")
>    end
>    if ~= name then
>       error("end_class of "" but the class
> "" is open")
>    end
>    declare_class(name, _class_declaration.table)

  _class_declaration = nil

>    -- clean anything out of the global namespace that you put there
>    return nil -- to empty out the "class" global
> end

(Wait, why am I debugging pseudocode when I've got another fltk release to
push out the door...)