# File rparsec/locator.rb, line 27 def _locateEof line, col = 1, 1 code.each_byte do |c| if c == LF line, col = line+1, 1 else col = col+1 end end return line, col end