[Vm-dev] VMMaker wrong C translation

Hans-Martin Mosner hmm at heeg.de
Thu Jan 10 14:59:11 UTC 2008


Mathieu Suen schrieb:
>
> Hi,
>
> I have a wierd tranlation from VMMaker:
> The Squeak code is:
>
> (messageSelector = self splObj: SelectorNextObject) not
You're missing parentheses here.
It should probably be
(messageSelector = (self splObj: SelectorNextObject)) not

and instead of "(condition) not ifTrue: [...]" you should perhaps write
"(condition) ifFalse: [...]".

Cheers,
Hans-Martin


More information about the Vm-dev mailing list