Ticket #162 (closed bug: fixed)
Parrot segfaults if specifying a non-sensical namespace
|Reported by:||kjs||Owned by:||plobsing|
while inspecting imcc's parser, I noticed that a key, in a keylist, is in fact a <var>. A var can be a target, which is just a register.
So, this is allowed: .namespace [$P0]
which doesn't make sense *at all*.
Parrot will segfault on this.
I think the simplest solution is to fix this in the parser (imcc.y); by changing some rules, we can fully disallow writing $P0 (registers in general) as namespace keys.