Am Montag, 2. April 2007 07:37 schrieb Joshua Isom:
> I'm not sure how the imcc compiler handles the .Foo syntax internally,
> but there's a file, runtime/parrot/include/pmctypes.pasm that at least
> appears as though it's magically included into the beginning of every
> pir/pasm file.

Nope the pmctypes.pasm isn't included. It's more a docu thingy than anythig 
else. The magic happens inside the lexer:

# imcc.l 442

<emit,INITIAL>{DOT}{LETTER}{LETTERDIGIT}* {
        char *macro_name = str_dup(yytext+1);
        int type = pmc_type(interp, string_from_cstring(interp, macro_name, 
0));

leo

Reply via email to