Fix grammar and error reporting in Chunk_parser
Add support for "type nonrec ..."