FNBBDevs / nolang

MIT License
3 stars 0 forks source link

Parsing issue for files ending with NEWLINE #2

Closed Mr-Oregano closed 1 year ago

Mr-Oregano commented 1 year ago

Currently having an unindented blank line at the end of a script causes a Syntax error on a non-existent line.

while x < 100
    nolout(x + ' balls in my mouth!')
    x = x + 1

else
    nolout('Reached the end!!!')
 <---- Unindented blank line causes "Syntax error: 'NEWLINE'"