summaryrefslogtreecommitdiff
path: root/src/tparse/tree-preproc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tparse/tree-preproc.go')
-rw-r--r--src/tparse/tree-preproc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tparse/tree-preproc.go b/src/tparse/tree-preproc.go
index d0f6637..a3e65f5 100644
--- a/src/tparse/tree-preproc.go
+++ b/src/tparse/tree-preproc.go
@@ -45,5 +45,7 @@ func parsePre (tokens *[]Token, tok, max int) (Node, int) {
tmp := Node{Data: (*tokens)[tok], IsBlock: false}
out.Sub = append(out.Sub, tmp)
+ tok++
+
return out, tok
} \ No newline at end of file