mirror of https://github.com/japl-lang/japl.git
Attempt to fix unterminated expressions (failed)
This commit is contained in:
parent
58866be514
commit
1005c81a1f
|
@ -43,8 +43,8 @@ proc makeRule(prefix, infix: ParseFn, precedence: Precedence): ParseRule =
|
|||
|
||||
|
||||
proc advance(self: var Parser): Token =
|
||||
result = self.tokens[self.current]
|
||||
inc(self.current)
|
||||
return self.tokens[self.current - 1]
|
||||
|
||||
|
||||
proc peek(self: Parser): Token =
|
||||
|
|
Loading…
Reference in New Issue