nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stdlib/strings: Removed usage of Strings as SequenceRead by using chars.
[nit.git]
/
src
/
parser
/
lexer.nit
diff --git
a/src/parser/lexer.nit
b/src/parser/lexer.nit
index
5e230dc
..
614a11e
100644
(file)
--- a/
src/parser/lexer.nit
+++ b/
src/parser/lexer.nit
@@
-1297,7
+1297,7
@@
class Lexer
if sp >= string_len then
dfa_state = -1
else
- var c = string[sp].ascii
+ var c = string.chars[sp].ascii
sp += 1
var cr = _cr