between .sym and .local?
And, .endclass and .endnamespace are not mentioned in imcc/README.
Regards,
-- Gregor
Leopold Toetsch [EMAIL PROTECTED]
12/05/2002 12:43 PM
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: Subroutine IMC example
[EMAIL PROTECTED] wrote:
Leo --
If .sub ... .end bracket not a subroutine, but a unit of compilation
(module?), then
shouldn't we make the name reflect the purpose?
A thing compiled in one piece ist mostly a subroutine.
BTW, what is the difference between .sym and .local?
UTSL ;-)
Leo --
If .sub ... .end bracket not a subroutine, but a unit of compilation
(module?), then
shouldn't we make the name reflect the purpose?
A thing compiled in one piece ist mostly a subroutine.
I disagree. A think what is most often compiled in one piece is a file,
with a combination
[EMAIL PROTECTED] wrote:
Leo --
If .sub ... .end bracket not a subroutine, but a unit of compilation
(module?), then
shouldn't we make the name reflect the purpose?
A thing compiled in one piece ist mostly a subroutine.
I disagree. A think what is most often compiled in one piece is a
Below you will find a simple Jako program along with the IMC code the
Jako compiler generates. The IMC compiler generates the following error:
error:imcc:iANY file sub.imc line 36: op not found 'set_ic_ic'
(set2)
on the first .arg x instance in the .imc file. I'm not sure why that
line
[EMAIL PROTECTED] wrote:
error:imcc:iANY file sub.imc line 36: op not found 'set_ic_ic'
2 mistakes here:
- branches between subs are not subject to fixup
- x is not declared in here:
.sub __ANON_BLOCK__1
set x, 42 # x
]
Subject:Re: Subroutine IMC example with problem
[EMAIL PROTECTED] wrote:
error:imcc:iANY file sub.imc line 36: op not found 'set_ic_ic'
2 mistakes here:
- branches between subs are not subject to fixup
- x is not declared in here:
.sub
[EMAIL PROTECTED] wrote:
Leo --
* Bracket with one big .sub ... .end, and don't use .sub for my real
subs (yuck -- I want to use .param, .arg, etc for subs and calls)
You can use .param/.arg - again: A .sub/.end delimits a unit of
compilation. Look at imcc.y .param = restore, .arg =