diff --git a/bsc/lua_ast/render.py b/bsc/lua_ast/render.py index b832c1b..51254e8 100644 --- a/bsc/lua_ast/render.py +++ b/bsc/lua_ast/render.py @@ -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")