lorcode parser: minor cleanup