PPCharSetPredicate.st
changeset 427 a7f5e6de19d2
parent 54 3e4cde74f2ea
child 642 77d5fddb6462
--- a/PPCharSetPredicate.st	Mon Apr 13 14:19:55 2015 +0100
+++ b/PPCharSetPredicate.st	Mon Apr 13 22:00:44 2015 +0100
@@ -1,5 +1,7 @@
 "{ Package: 'stx:goodies/petitparser' }"
 
+"{ NameSpace: Smalltalk }"
+
 Object subclass:#PPCharSetPredicate
 	instanceVariableNames:'block classification'
 	classVariableNames:''
@@ -33,7 +35,7 @@
 	classification := Array new: 255.
 	1 to: classification size do: [ :index |
 		classification at: index put: (block
-			value: (Character value: index)) ]
+			value: (Character codePoint: index)) ]
 ! !
 
 !PPCharSetPredicate class methodsFor:'documentation'!
@@ -49,3 +51,4 @@
 version_SVN
     ^ '§Id: PPCharSetPredicate.st 4 2010-12-18 17:02:23Z kursjan §'
 ! !
+