On Sun, Feb 05, 2006 at 11:34:33AM +0800, Audrey Tang wrote: > That seems to be a fatal error at PGE's side: > > $ echo 'rule $x:=[]' | parrot demo.pir > error:imcc:syntax error, unexpected ']' > in file 'EVAL_2' line 79 I've now updated PGE (r11427) so that it provides a more useful exception:
p6rule parse error: Term expected at offset 5, found ']' > The same error occurs if one replaces [] with <> or (). The fix also updates the () case; I need to review the <> case a bit more to get it to work correctly. Thanks! Pm