Closed KenDickey closed 4 months ago
I was browsing code in a Cuis code browser but my simple Tonel parser choked on some code.
in "egg/modules/Kernel/LargeInteger.st":
vvv===vvv===vvv { #category : #unclassified } LargeInteger >> shortAtOffset: [ offset offset _isSmallInteger ifFalse: [^self outOfBoundsIndex: offset]. (0 <= offset and: [offset + 2 <= self _size]) ifFalse: [^self outOfBoundsIndex: offset]. ^self shortAtValidOffset: offset ] ^^^===^^^===^^^
I suspect the desired text for the second line is vvv===vvv===vvv LargeInteger >> shortAtOffset: offset [ ^^^===^^^===^^^------------------^^^^^^
I suspect other slips may exist.
HTH, -KenD
I was browsing code in a Cuis code browser but my simple Tonel parser choked on some code.
in "egg/modules/Kernel/LargeInteger.st":
vvv===vvv===vvv { #category : #unclassified } LargeInteger >> shortAtOffset: [ offset offset _isSmallInteger ifFalse: [^self outOfBoundsIndex: offset]. (0 <= offset and: [offset + 2 <= self _size]) ifFalse: [^self outOfBoundsIndex: offset]. ^self shortAtValidOffset: offset ] ^^^===^^^===^^^
I suspect the desired text for the second line is vvv===vvv===vvv LargeInteger >> shortAtOffset: offset [ ^^^===^^^===^^^------------------^^^^^^
I suspect other slips may exist.
HTH, -KenD