mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
Fix off-by-1
This commit is contained in:
parent
7538fc76aa
commit
9ebb9f2765
@ -80,8 +80,8 @@ module Tartrazine
|
|||||||
@state_stack = ["root"]
|
@state_stack = ["root"]
|
||||||
else
|
else
|
||||||
@dq << {type: "Error", value: String.new(@text[@pos..@pos])}
|
@dq << {type: "Error", value: String.new(@text[@pos..@pos])}
|
||||||
@pos += 1
|
|
||||||
end
|
end
|
||||||
|
@pos += 1
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user