Hi, On Saturday 13 March 2004 07:28, Leopold Toetsch wrote: > Jens Rieks <[EMAIL PROTECTED]> wrote: > > Hi, > > > > .namespace ["Source"] > > .sub open method > > .pcc_begin_return > > .pcc_end_return > > .end > > > > fails with > > error:imcc:parse error, unexpected PARROT_OP, expecting IDENTIFIER > > Parrot opcode names are basically reserved words. There are some > exceptions, where the lexer gets hints that now an identifier is > expected, but this hints aren't by far everywhere. > I know that this is suboptimal but fixing it for every piece in the > parser is difficult. > I'll have a look at above case, though. Or, maybe .sub "foo" method as an alternative syntax? This would allow other characters than now in sub names, too.
> > jens > > leo jens