[Newbies] [Q] A really silly question

Mathieu Suen mathk.sue at gmail.com
Thu May 10 18:54:15 UTC 2007


nextLiteral

	| prevToken |
	prevToken _ self advance.
	(prevToken == #- and: [token isKindOf: Number])
		ifTrue:
			[^self advance negated].
	^prevToken


	Mth



On May 10, 2007, at 8:43 PM, Herbert König wrote:

> Up to now I believed that the Smalltalk compiler does not look at
> previous statements to compile a given statement.



More information about the Beginners mailing list