summaryrefslogtreecommitdiff
path: root/assembler.c
Commit message (Collapse)AuthorAge
* Fix and add tests for NULL deref cases found by scan-buildDavid Phillips2019-08-11
|
* Wrap tests in valgrind, clean up memory leaksDavid Phillips2019-08-04
|
* lex: empty file is equivalent to EOLDavid Phillips2019-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 awayDavid Phillips2019-08-03
|
* Enable -Wall and -Wextra, fix warningsDavid Phillips2019-08-03
|
* Misc tidy up of assembler sourcesDavid Phillips2019-08-03
|
* Tidy assembler.cDavid Phillips2019-08-03
|
* Dirst dump of working prototypeDavid Phillips2019-08-03