use LineGap.sub instead of LineGap.substring, as the former function is now fixed
This commit is contained in:
@@ -176,8 +176,7 @@ struct
|
||||
acc
|
||||
else
|
||||
let
|
||||
val chr = LineGap.substring (pos, 1, buffer)
|
||||
val chr = String.sub (chr, 0)
|
||||
val chr = LineGap.sub (pos, buffer)
|
||||
val (nfa, state) = rebuild (nfa, chr, pos)
|
||||
in
|
||||
case state of
|
||||
|
||||
Reference in New Issue
Block a user