make the assembler LF-tolerant #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently if you feed the assembler a file that has only LF line endings, it will overflow its input buffer and fail.
First, we should recognize either a CR or an LF as a line ending. Second, we shouldn't overflow the buffer; we should spit out "line too long" and exit.