Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed May 19, 2024
1 parent 79ef946 commit ed75b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (self *Parser) skipFast() (int, types.ParsingError) {

func (self *Parser) getByPath(path ...interface{}) (int, types.ParsingError) {
fsm := types.NewStateMachine()
start := native.GetByPath(&self.s, &self.p, &path, fsm)
start := native.GetByPath(&self.s, &self.p, &path, fsm, 0)
types.FreeStateMachine(fsm)
runtime.KeepAlive(path)
if start < 0 {
Expand Down

0 comments on commit ed75b9d

Please sign in to comment.