[Newcompiler] Comment paring: Question
Marcus Denker
denker at iam.unibe.ch
Mon Oct 9 14:57:28 UTC 2006
Hi Math,
I was looking at the comment parsing... one question:
If I print
(SqueakParser
parseMethod: (SqueakParserTest>>#methodDescribeWithAllComment:And:)
getSource) addComment
then the comments seem to be off by one at some point, e.g.
original code:
"26b"
3 + 3. "27a"
"28b"
^Object new. "29a"
"0 remove"
"0 remove"
pretty printed:
"23b" "0 remove"
3 + 3. "27a"
"26b"
^ Object new "29a"
"28b"
----------
the "26b" seems to be at the wrong statement....
Marcus
More information about the Newcompiler
mailing list