class GET_MAIN_SIG < $GET_MAIN_SIG |
---|
**** | This phase determines the signature of main. |
$GET_MAIN_SIG | CS_COMPONENT |
attr main_sig:SIG; |
---|
**** | The signature of `main'. |
attr prog:PROG; |
---|
attr main_sig:SIG; |
---|
**** | The signature of `main'. |
attr prog:PROG; |
---|
barf(msg:STR) |
---|
**** | Something wrong within the compiler, but we can't say where. |
barf_at(msg:STR,at:$PROG_ERR) |
---|
**** | Something wrong, and we know where. |
create(p:PROG):SAME |
---|
err(s:STR) |
---|
**** | Report an error. |
err_loc(t:$PROG_ERR) |
---|
**** | Set where a future error should be reported at. |
get_main_sig(nm:STR) |
---|
**** | Get the signature of the main routine in the class named `nm' and put it in `main_sig'. |
warning(s:STR) |
---|
**** | report a warning (doesn't stop compile); |