Lexer can now tokenize

minus
decrement
return direction
separator
This commit is contained in:
2022-08-10 14:18:28 -04:00
parent d43a2540cf
commit 9c1baf8216
2 changed files with 22 additions and 5 deletions

View File

@@ -59,6 +59,7 @@ func (err Error) Error () (formattedMessage string) {
// print an arrow with a tail spanning the width of the mistake
columnCountdown := err.Location.column
for columnCountdown > 1 {
// TODO: for tabs, print out a teb instead.
formattedMessage += " "
columnCountdown --
}