Skip to content

Commit

Permalink
Changed the parser algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
vanilla-extracts committed Apr 23, 2020
1 parent 09b058a commit fc0c6f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Binary file added baguette-sharp
Binary file not shown.
11 changes: 6 additions & 5 deletions parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,15 @@ func Iterate() Node {
currentIndex++

call.Params = append(call.Params, Iterate())
return call
}else{
call.Params = append(call.Params, Node{
Type: token.Type,
Value: token.Value,
})
}

// Add the element to the params
call.Params = append(call.Params, Node{
Type: token.Type,
Value: token.Value,
})

}
currentIndex++

Expand Down

0 comments on commit fc0c6f6

Please sign in to comment.