Skip to content

Commit

Permalink
Satisfy luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomg committed Jun 10, 2023
1 parent 744096e commit 2ce5b2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pallene/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,9 @@ function Parser:SuffixedExp()
exp = ast.Exp.Var(start.loc, ast.Var.Bracket(start.loc, exp, index))

elseif self:peek(":") then
local _ = self:advance()
local id = self:e("NAME")
local args = self:FuncArgs()
local _ = self:advance()
local _ = self:e("NAME") -- id
local _ = self:FuncArgs() -- args
self:syntax_error(self.prev.loc,
"Pallene does not yet support method calls")
self:abort_parsing()
Expand Down

0 comments on commit 2ce5b2e

Please sign in to comment.