Closed JoshCheek closed 9 years ago
Done, It now requires every line end in a newline, and there is a Code object, which reflects on tokens to figure out where the end is. Not perfect, b/c Parser stops emitting tokens after the first newline after last expression, so have to check for comments and heredocs explicitly, but still a lot better.
WrapExpressions should know how many lines there are, use that to identify this info rather than body.lines.count in main SiB script.
Also, might be worth including this info in the Result object.