buglet in comment-parsing

michal starke Michal.Starke at lettres.unige.ch
Sat Oct 24 14:45:07 UTC 1998


If you prettyPrint the following toy-method:

test
	| x |
	x _ 3.
	"a comment that will disappear"


the final comment(s) disappears. This is not a bug in prettyPrint
('format') but in the parsing mechanism which unduly erases the comment in
AssignmentNode.

(while dealing with a final empty statement apparently, as the problem
disappears if you erase the dot after '3').





More information about the Squeak-dev mailing list