diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-23 23:10:55 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-25 12:43:16 -0600 |
commit | 1632e2611b6e9fc2bbb376072e813c8ccdccff95 (patch) | |
tree | 6f2836f4576b357baa501d0adf7dd40b13d69fae /lib9p/protogen | |
parent | 8987e4bfcbb971582c143c9730bbc8f844577172 (diff) |
lib9p: protogen: cutil.macro(): Only pad the \ with 1 space
Diffstat (limited to 'lib9p/protogen')
-rw-r--r-- | lib9p/protogen/cutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/protogen/cutil.py b/lib9p/protogen/cutil.py index a78cd17..8df6db9 100644 --- a/lib9p/protogen/cutil.py +++ b/lib9p/protogen/cutil.py @@ -31,7 +31,7 @@ def macro(full: str) -> str: lines = [l.rstrip() for l in full.split("\n")] width = max(len(l.expandtabs(tabsize=8)) for l in lines[:-1]) lines = [tab_ljust(l, width) for l in lines] - return " \\\n".join(lines).rstrip() + "\n" + return " \\\n".join(lines).rstrip() + "\n" _ifdef_stack: list[str | None] = [] |