Added documentation, added new line before preprocessor line.

This commit is contained in:
Marvin Blum
2015-10-31 16:27:10 +01:00
parent 276ab86668
commit 8d5c0a6905
3 changed files with 27 additions and 3 deletions

View File

@@ -57,8 +57,8 @@ func (c *Compiler) parseBlock() {
}
func (c *Compiler) parsePreprocessor() {
// we definitely want a new line here
c.appendOut(c.get().Token+new_line, false)
// we definitely want a new line before and after
c.appendOut(new_line+c.get().Token+new_line, false)
c.next()
}