Akuli / jou

Yet another programming language
MIT License
11 stars 4 forks source link

bad error message for indenting with tabs #336

Closed Akuli closed 1 year ago

Akuli commented 1 year ago

In a file that contains a tab character at start of line 4, when it should instead have 4 spaces for indentation:

$ ./jou x.jou 
compiler error in file "x.jou", line 4: unexpected byte 0x9

The error message isn't great. It should say that you cannot use tabs for indentation and you need to use 4 spaces.