lib: Update libs to use correctly ascii and code_point
[nit.git] / contrib / pep8analysis / src / parser / lexer.nit
index 912336c..718ee98 100644 (file)
@@ -337,7 +337,7 @@ class Lexer
                        if sp >= string_len then
                                dfa_state = -1
                        else
-                               var c = string[sp].ascii
+                               var c = string[sp].code_point
                                if c >= 255 then c = 255
                                sp += 1