summaryrefslogtreecommitdiff
path: root/lexer.c
Commit message (Collapse)AuthorAge
* Fix mis-named expr keyword in lookup tableDavid Phillips2018-08-01
|
* Fix whitespace trimming on non-whitespace linesDavid Phillips2018-08-01
| | | | | | Accounts for the case that whitespace doesn't start a line, but a token does instead. In this case, the whitespace span length should be set to 0 and additionally, still not reset each time whitespace is found.
* Trim leading whitespace from contextual error, detect EOFDavid Phillips2018-08-01
| | | | | | | Side-note that the token location tuple maintains the correct column number to include the whitespace in the source file. Side-side note: tabs are counted as one column but many editors will count them as whatever the tabstop/tabwidth is.
* Add line area/span indication to error messagesDavid Phillips2018-08-01
|
* Fix buffer indexing error affecting alphanum tok valueDavid Phillips2018-08-01
|
* WIP: Implement more robust, separated lexer+parser passesDavid Phillips2018-08-01