Author: theraven
Date: Sun Dec 14 00:08:25 2008
New Revision: 4121
URL: http://svn.gna.org/viewcvs/etoile?rev=4121&view=rev
Log:
Fixed two bugs found by Truls:
1) Comments were codegen'd. In most cases, this doesn't matter. In blocks, it
can make the block return value nil, if the comment is the last line in the
block.
2) timesRepeat: returns an object, but the implementation for SmallInt returned
nothing. Blammo! Sending a message to an uninitialised pointer!
Modified:
trunk/Etoile/Languages/LanguageKit/LKAST.h
trunk/Etoile/Languages/LanguageKit/LKAST.m
trunk/Etoile/Languages/LanguageKit/LKBlockExpr.m
trunk/Etoile/Languages/LanguageKit/LKComment.m
trunk/Etoile/Languages/LanguageKit/MsgSendSmallInt.bc
trunk/Etoile/Languages/LanguageKit/MsgSendSmallInt.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs