visionmedia/jade — pull request #1147 by ForbesLindesay (2013-08-02 14:08:49+00:00)
Title: Add/more error reporting

This fixes common errors like:

```jade
if (foo) {
p Foo is true
}
```

which used to attempt to compile to:

```js
if ((foo) {) {
buf.push('

Foo is true

')
}
```

which is a syntax error. We can produce much better reporting by catching as many syntax errors as possible in either the lexer or the parser, since they know the correct line number.