pushed read_type to yecc grammar file to cleanup parsing code in nlist and nlfile