Skip to content

Commit

Permalink
ci: fix lua_ast.render
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS authored Jun 29, 2024
1 parent c4c08f6 commit d3f5d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsc/lua_ast/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def render_expr(self, expr):
elif isinstance(expr, LuaIdent):
self.write(expr.name)
elif isinstance(expr, LuaNumberLit):
if "." in expr.value: # is float self.write(expr.value)
if "." in expr.value: self.write(expr.value)
else: self.write(hex(int(expr.value, 0)))
elif isinstance(expr, LuaBooleanLit):
self.write("true" if expr.value else "false")
Expand Down

0 comments on commit d3f5d66

Please sign in to comment.