removed olinks, updated lexer_lex to handle errors