nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
typing: text formatting
[nit.git]
/
src
/
parser
/
lexer_work.nit
diff --git
a/src/parser/lexer_work.nit
b/src/parser/lexer_work.nit
index
94810af
..
e061613
100644
(file)
--- a/
src/parser/lexer_work.nit
+++ b/
src/parser/lexer_work.nit
@@
-173,7
+173,7
@@
class Lexer
# This does not corrupt the lexer and works perfectly on any character.
#
# TL;DR: Java fucked up, need retarded solution to cope for retarded decision
- var c = string[sp].ascii
+ var c = string[sp].code_point
if c >= 256 then c = 255
sp += 1