[ENH] Scanner's TypeTable cleanup

diegogomezdeck at consultar.com diegogomezdeck at consultar.com
Sat Aug 23 17:46:00 UTC 2003


Minor refactoring in Scanner class>>initialize.  Replace of hardcoded
values to mark the letters in TypeTable with a loop asking each character
for #isLetter.

This allows cleaner way to expand the #isLetter to cover non-english
letters.  Before this change a duplication was needed (Character>>isLetter
and Scanner class>>initialize methods).

Needed for all the translations efforts in progress, please consider to
include in the update-stream.

Cheers,

Diego


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScannerTypeTableCleanup-dgd.1.cs.gz
Type: application/x-gzip-compressed
Size: 858 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030823/4198bcba/ScannerTypeTableCleanup-dgd.1.cs.bin


More information about the Squeak-dev mailing list