Issue 1544: allowUnderscoreAssignment preference is not working

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

Issue 1544: allowUnderscoreAssignment preference is not working

Alain Plantec-4
--------------------------
whatever value is set to allowUnderscoreAssignment preference, underscore
is always allowed.

the fix seems simple.
it consists in changing the Scanner typeTable initialization.
by replacing the line
    newTable at: $_ asciiValue put: #leftArrow.
by
    newTable at: $_ asciiValue put: #xUnderscore.

in Scanner class>>initialize

-> SLICE-allowUnderscoreAssignmentFix-AlainPlantec.1 in inbox

---------------------------

Alain


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project