pass-test-tokenize-all #1

Merged
sashakoshka merged 20 commits from pass-test-tokenize-all into main 2022-08-11 09:07:36 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit d43a2540cf - Show all commits

View File

@ -58,7 +58,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 > 0 {
for columnCountdown > 1 {
formattedMessage += " "
columnCountdown --
}
@ -66,9 +66,9 @@ func (err Error) Error () (formattedMessage string) {
// TODO: for tabs, print out 8 of these instead.
formattedMessage += "-"
}
formattedMessage += "-\n"
formattedMessage += "^\n"
}
formattedMessage += err.message + "-\n"
formattedMessage += err.message + "\n"
return
}