lexer: Use panic instead of log.Fatal to gain access to stack trace.