diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2021-10-29 20:23:34 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2021-10-29 20:23:34 -0400 |
commit | 2997d5a26365437a0f3b02daceabd60d73ead257 (patch) | |
tree | 14c173068ac64a406178734aeaf5b124655dc10c /src/tparse/tree-statement.go | |
parent | ad506ec1d0f465f55e66a220cb7a04164a348212 (diff) |
[HOTFIX] Actually call a function
I am dumb, so dumb in fact that I apparently someteimes forget to actually *call* my own code.
Diffstat (limited to 'src/tparse/tree-statement.go')
-rw-r--r-- | src/tparse/tree-statement.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |