nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Update libs to use correctly ascii and code_point
[nit.git]
/
contrib
/
pep8analysis
/
src
/
parser
/
lexer.nit
diff --git
a/contrib/pep8analysis/src/parser/lexer.nit
b/contrib/pep8analysis/src/parser/lexer.nit
index
912336c
..
718ee98
100644
(file)
--- a/
contrib/pep8analysis/src/parser/lexer.nit
+++ b/
contrib/pep8analysis/src/parser/lexer.nit
@@
-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