Skip to content

Commit

Permalink
pallene_l_strcmp is now exported by the patched Lua
Browse files Browse the repository at this point in the history
This way we don't need to copy paste it.
  • Loading branch information
hugomg committed May 14, 2022
1 parent 79d9a18 commit ef983d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallene/coder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ gen_cmd["Binop"] = function(self, cmd, _func)
end

local function strcmp(op)
return (util.render([[ $dst = (pallene_l_strcmp($x, $y) $op 0); ]], {
return (util.render([[ $dst = (luaV_strcmp($x, $y) $op 0); ]], {
dst = dst, x = x, y = y, op = op }))
end

Expand Down

0 comments on commit ef983d2

Please sign in to comment.