The Trunk: Compiler-eem.382.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Compiler-eem.382.mcz

commits-2
Eliot Miranda uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-eem.382.mcz

==================== 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') -----
  xLitQuoteForTokenization
  "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]!