Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix and add tests for NULL deref cases found by scan-build | David Phillips | 2019-08-11 |
| | |||
* | Wrap tests in valgrind, clean up memory leaks | David Phillips | 2019-08-04 |
| | |||
* | lex: empty file is equivalent to EOL | David Phillips | 2019-08-04 |
| | | | | | | | | | lex() returning NULL is used to convey an error case but having not allocated any tokens in the case of an empty input file isn't an error case. This patch causes lex to treat an empty token stream after successfully examining a file as just a single EOL token. This is a fair approximation of an empty file for this assembler's purposes, and results in the correct behaviour of an empty output file. | ||
* | File input and output routines away | David Phillips | 2019-08-03 |
| | |||
* | Enable -Wall and -Wextra, fix warnings | David Phillips | 2019-08-03 |
| | |||
* | Misc tidy up of assembler sources | David Phillips | 2019-08-03 |
| | |||
* | Tidy assembler.c | David Phillips | 2019-08-03 |
| | |||
* | Dirst dump of working prototype | David Phillips | 2019-08-03 |