>>> I just implemented macro expansion in imcc.
> 
> [...]
> 
>> Here something fishy must happen:
>> 
>> $ cat t/op/arithmetics_22.pasm | imcc -
>> error:imcc: file - line 1: unknown macro '.macro'

Ahh, found it. The macros at the moment only work in assembly-mode

$ cat t/op/arithmetics_22.pasm | imcc -a -
ok1

>> $ imcc t/op/arithmetics_22.pasm
>> ok 1

the .pasm extension implies pasm mode

bye
boe

Reply via email to