Dave Brondsema writes:
> # New Ticket Created by  Dave Brondsema 
> # Please include the string:  [perl #33092]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=33092 >
> 
> 
> 
> If I define a sub as:
> 
> .sub print
>     .param string arg
>     print arg
> .end
> 
> 
> Then I cannot invoke it using the IMCC "short way":
>   print("hello")
> because I get this error:
>   error:imcc:op not found 'print' (print<0>)

You can invoke it the "almost short way":

    "print"("hello")

You can also define the sub like this:

    .sub "print"
        .param string arg
        print arg
    .end

Which is quite nice for compiler writers.

Luke

Reply via email to