diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2021-11-22 21:41:08 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2021-11-22 21:41:08 -0500 |
commit | 60dcc7c3c013a2492d8db1b04d28cb437921cced (patch) | |
tree | 0abd57ee7f5fa9a6b9f1b1bc9b305a75ba0b96ef /src/tparse/tree-list.go | |
parent | fc650edf6a1ad7b043ccd92495d8e600fd094963 (diff) |
[PARSE] Remove IsBlock
Diffstat (limited to 'src/tparse/tree-list.go')
-rw-r--r-- | src/tparse/tree-list.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tparse/tree-list.go b/src/tparse/tree-list.go index d415594..3acc426 100644 --- a/src/tparse/tree-list.go +++ b/src/tparse/tree-list.go @@ -31,7 +31,7 @@ func getClosing(start string) string { // Parse a list of values func parseValueList(tokens *[]Token, tok, max int) (Node, int) { - out := Node{Data: Token{Type: 10, Data: "vlist"}, IsBlock: false} + out := Node{Data: Token{Type: 10, Data: "vlist"}} var tmp Node for ; tok < max; { @@ -56,7 +56,7 @@ func parseValueList(tokens *[]Token, tok, max int) (Node, int) { // Parse list of parameters func parseParamList(tokens *[]Token, tok, max int) (Node, int) { - out := Node{Data: Token{Type: 10, Data: "plist"}, IsBlock: false} + out := Node{Data: Token{Type: 10, Data: "plist"}} var tmp Node if isTypeThenValue(tokens, tok, max) { @@ -95,7 +95,7 @@ func parseParamList(tokens *[]Token, tok, max int) (Node, int) { // Parse a list of types func parseTypeList(tokens *[]Token, tok, max int) (Node, int) { - out := Node{Data: Token{Type: 10, Data: "tlist"}, IsBlock: false} + out := Node{Data: Token{Type: 10, Data: "tlist"}} var tmp Node for ; tok < max; { |