[Pharo-project] RBScanner>>#initializeClassificationTable

Benjamin benjamin.vanryseghem.pharo at gmail.com
Thu Nov 25 10:58:44 CET 2010


Hello guys,

Is there a reason this method use :

	(Scanner isLiteralSymbol: '_')
		ifTrue: [ self initializeChars: '_' to: #alphabetic ]
		ifFalse: [ self initializeChars: '_' to: #special ].

and not

	(Scanner allowUnderscoreAsAssignment)
		ifTrue: [ self initializeChars: '_' to: #special ]
		ifFalse:[ self initializeChars: '_' to: #alphabetic ]

?


Cheers,

Ben




More information about the Pharo-project mailing list