From 1632e2611b6e9fc2bbb376072e813c8ccdccff95 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 23 Mar 2025 23:10:55 -0600 Subject: lib9p: protogen: cutil.macro(): Only pad the \ with 1 space --- lib9p/protogen/cutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib9p/protogen/cutil.py') 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] = [] -- cgit v1.2.3-2-g168b