Fix Dylan's parser and lexer

- Fix the error showing at the end of a (valid) Dylan file
- Fix the separation issue of headers and source_records