Dan Sugalski <[EMAIL PROTECTED]> wrote:
> While we still need to nail down the final bits of namespace stuff,
> I'm running into the need for it in IMCC code, so its time to finally
> deal with it.

> I don't really care what the syntax looks like, so I'm proposing:

>     .namespace [foo; bar; baz]

> as a way to set the current namespace for subs to foo::bar::baz.

I have now implemented the nested namespace too:

  .namespace ["Foo";"Bar"]
  .pcc_sub __init:

The label gets mangled to:

  _Foo::Bar::__init:

and the nested namespaces are (hopefully) built correctly. But I can't
test it. Nested namespaces aren't search yet.

leo

Reply via email to