danchoi/herbalizer

Whitespace issues at end of file

Closed this issue · 1 comments

0.2 got most of the way through a medium-complexity file, but ran into problems at the end. Its complaining either

(line 59, column 1):
unexpected end of input
expecting ",", "(" or "["

or

(line 59, column 13):
unexpected end of input
expecting new-line

I sent a link to a gist of the file in question to your gmail, as I'd rather not throw the entire file up publicly.

I'm editing haml in sublime-text2, which when adding a newline in haml-mode, will try to autoindent the next line to match the indentation of the previous. However removing the indendation, or removing the final newline altogether doesn't cause it to work.

OK I pushed a new version up that works on the private gist you gave me. Thanks for posting the bug again.