summaryrefslogtreecommitdiff
path: root/src/tparse
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-07-13 02:51:30 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-07-13 02:51:30 -0400
commitedb995e2c961160f7e8a70ce09c35e664ffe54a7 (patch)
treec5834864e2894a25e5aa7e21858209f99bfb27b2 /src/tparse
parent42a014c98797c7c4d78bfc3c2494a6ef0ce4e6be (diff)
[AST] Hotfix: value list parsing for definitions
Diffstat (limited to 'src/tparse')
-rw-r--r--src/tparse/tree-list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tparse/tree-list.go b/src/tparse/tree-list.go
index 85f7134..a35629c 100644
--- a/src/tparse/tree-list.go
+++ b/src/tparse/tree-list.go
@@ -43,7 +43,7 @@ func parseValueList(tokens *[]Token, tok, max int) (Node, int) {
return out, tok
case DELIMIT:
switch t.Data {
- case "}", ")", "]":
+ case "}", ")", "]", "/;", ";/":
return out, tok
default:
mx := findClosing(tokens, tok)