Extracted internal token/error functionality out of ragel file and into Lexer::Context