mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-08-07 08:37:53 +00:00
Fix off-by-1
This commit is contained in:
@@ -80,8 +80,8 @@ module Tartrazine
|
||||
@state_stack = ["root"]
|
||||
else
|
||||
@dq << {type: "Error", value: String.new(@text[@pos..@pos])}
|
||||
@pos += 1
|
||||
end
|
||||
@pos += 1
|
||||
break
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user