ariatemplates/hashspace — pull request #308 by jakub-g (2014-09-26 14:48:53+00:00)
Title: HTML syntax part 2: mandatory <script></script> and optional <!-- HTML comments -->

The first two commits should be straightforward, first is renaming things, second is whitespace-only change.

Third commit:

- `build/grunt/docs.js` just better error message
- `gruntfile.js` some unrelated debugging comments, I really don't want a separate commit for that ;)
- `hsp/compiler/jsgenerator/index.js` and `hsp/compiler/parser/hspblocks.pegjs` main changes here; I've decided to emit newlines from the parser side and just glue blocks together in js generator instead of joining them with `\r\n`, IMO this simplifies reasoning about the code and line mappings. The edge case I encountered with the old attitude was for instance was that
```

````
generated one newline between the templates in JS code (template + `\r\n` + template) while
```

```
generated *three* newlines between them (template + `\r\n` + one-line whitespace block + `\r\n` + template).

So, let each top-level statement care about its own whitespace from now on. `` tags also emit a newline to keep the 1:1 line correspondence.

- `test/compiler/errtests.js` some files have lines shifted due to introduction of `