From 2997d5a26365437a0f3b02daceabd60d73ead257 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 29 Oct 2021 20:23:34 -0400 Subject: [HOTFIX] Actually call a function I am dumb, so dumb in fact that I apparently someteimes forget to actually *call* my own code. --- src/tparse/tree-statement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tparse') diff --git a/src/tparse/tree-statement.go b/src/tparse/tree-statement.go index 9a4a515..1c648d2 100644 --- a/src/tparse/tree-statement.go +++ b/src/tparse/tree-statement.go @@ -108,7 +108,7 @@ func parseStatement(tokens *[]Token, tok, max int) (Node, int) { out.Sub = append(out.Sub, tmp) } else { // do check for definition - if isTypeThenValue { + if isTypeThenValue(tokens, tok, max) { // if not, parse a value tmp, tok = parseDef(tokens, tok, max) } else { -- cgit v1.2.3