Gregor N. Purdy <[EMAIL PROTECTED]> wrote: > .pcc_call char_is_white_space ### "unexpected identifier"?o
[snip ] > .char_is_white_space(c) > if test goto ... The macro better should take the test result too: .CHAR_IS_WS(c,test) > Except, the line marked in the macro def above shows that > parrot doesn't like this arrangement. Dunno, what your symbol C<char_is_white_space> is. It ought to be a subroutine PMC. Its not a label. Please have a look at library/{pcre.imc,libpcre.imc} where macros and PCC subs are working together, very similar to your example. > (BTW, why can't I define a macro at the file level? I > had to put it inside .sub __main) It'll be fixed. I did a short test and it seems to work fine. I'll check it in tomorrow. > Regards, > -- Gregor leo