nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nitunit: update tests
[nit.git]
/
lib
/
json
/
json_lexer.nit
diff --git
a/lib/json/json_lexer.nit
b/lib/json/json_lexer.nit
index
4a54598
..
8ec28ff
100644
(file)
--- a/
lib/json/json_lexer.nit
+++ b/
lib/json/json_lexer.nit
@@
-97,11
+97,11
@@
private class DFAState2
super DFAState
redef fun trans(char) do
var c = char.code_point
super DFAState
redef fun trans(char) do
var c = char.code_point
+ if c > 92 then return dfastate_2
if c <= 33 then return dfastate_2
if c <= 34 then return dfastate_29
if c <= 91 then return dfastate_2
if c <= 33 then return dfastate_2
if c <= 34 then return dfastate_29
if c <= 91 then return dfastate_2
- if c <= 92 then return dfastate_30
- return dfastate_2
+ return dfastate_30
end
end
private class DFAState3
end
end
private class DFAState3