summaryrefslogtreecommitdiff
path: root/src/tparse/tree-statement.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tparse/tree-statement.go')
-rw-r--r--src/tparse/tree-statement.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tparse/tree-statement.go b/src/tparse/tree-statement.go
index cf25085..6a5b6e3 100644
--- a/src/tparse/tree-statement.go
+++ b/src/tparse/tree-statement.go
@@ -117,13 +117,14 @@ func parseBlock(tokens *[]Token, tok, max int) (Node, int) {
REBLOCK:
tmp, tok = parseBlock(tokens, tok + 1, max)
-
+
if (*tokens)[tok].Data == ";;" {
out.Sub = append(out.Sub, tmp)
goto REBLOCK
} else if (*tokens)[tok].Data == ";/" {
tok++
}
+
case "/:":
tmp, tok = parsePreBlock(tokens, tok + 1, max)
case ":":