aboutsummaryrefslogtreecommitdiff
path: root/bindgen
diff options
context:
space:
mode:
authorAlexander Arvidsson <2972103+AlexanderArvidsson@users.noreply.github.com>2025-01-08 00:08:52 +0100
committerAlexander Arvidsson <2972103+AlexanderArvidsson@users.noreply.github.com>2025-01-08 00:08:52 +0100
commit5b3f88b6596d1818476a85711154a7864c29b8fa (patch)
tree2a7ae37ccd274d04bccb7ca2b2bcce516a52886e /bindgen
parentee787e25db280a4441e3db1f8cb0ddf59985487c (diff)
bindgen(odin): Fix empty line leading whitespace
Diffstat (limited to 'bindgen')
-rw-r--r--bindgen/gen_odin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindgen/gen_odin.py b/bindgen/gen_odin.py
index a85060a4..8d4588f9 100644
--- a/bindgen/gen_odin.py
+++ b/bindgen/gen_odin.py
@@ -155,7 +155,7 @@ def c(s, indent=""):
return
if '\n' in s:
l(f'{indent}/*')
- l(textwrap.indent(textwrap.dedent(s), prefix=f" {indent}", predicate=lambda line: True))
+ l(textwrap.indent(textwrap.dedent(s), prefix=f" {indent}"))
l(f'{indent}*/')
else:
l(f'{indent}// {s.strip()}')