summaryrefslogtreecommitdiff
path: root/src/tparse/tree-list.go
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-11-22 21:41:08 -0500
committerKyle Gunger <kgunger12@gmail.com>2021-11-22 21:41:08 -0500
commit60dcc7c3c013a2492d8db1b04d28cb437921cced (patch)
tree0abd57ee7f5fa9a6b9f1b1bc9b305a75ba0b96ef /src/tparse/tree-list.go
parentfc650edf6a1ad7b043ccd92495d8e600fd094963 (diff)
[PARSE] Remove IsBlock
Diffstat (limited to 'src/tparse/tree-list.go')
-rw-r--r--src/tparse/tree-list.go6
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; {