[squeak-dev] The Trunk: Compiler-eem.382.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jun 1 00:02:39 UTC 2018

Eliot Miranda uploaded a new version of Compiler to project The Trunk:

==================== Summary ====================

Name: Compiler-eem.382
Author: eem
Time: 31 May 2018, 5:02:26.967309 pm
UUID: 52aa994c-63da-4485-aade-2f4b72f18e06
Ancestors: Compiler-eem.381

Oops!  Deal with potential recursion in xLitQuoteForTokenization.

=============== Diff against Compiler-eem.381 ===============

Item was changed:
  ----- Method: Scanner>>xLitQuoteForTokenization (in category 'multi-character scans') -----
  	"Parse underscores as per the regular parser when following a # symbol, so that e.g. #_WIN32 is correctly tokenized."
  	| index |
+ 	index :=  typeTable identityIndexOf: #xUnderscoreForTokenization ifAbsent: [^self xLitQuote].
- 	index :=  typeTable identityIndexOf: #xUnderscoreForTokenization.
  	typeTable at: index put: #xUnderscore.
  	[self xLitQuote] ensure:
  		[typeTable at: index put: #xUnderscoreForTokenization]!

More information about the Squeak-dev mailing list