# File json/lexer.rb, line 58 def nextmatch(char) n = self.nextchar raise "Expected '#{char}' and instead saw '#{n}'." if (n != char) return(n) end