From 4767384b0849f1f06d2dd0074c5b87b77600113c Mon Sep 17 00:00:00 2001 From: iris <2+iris@noreply.localhost> Date: Sun, 13 Sep 2026 01:07:52 -0400 Subject: [PATCH] Preserve primitive count recursion --- core/src/render/primitive.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/render/primitive.rs b/core/src/render/primitive.rs index f8f1069..e249f8f 100644 --- a/core/src/render/primitive.rs +++ b/core/src/render/primitive.rs @@ -93,7 +93,8 @@ macro_rules! primitives { } )* }; - (@count $t1:tt $($t:tt)+) => { 1 + primitives!(@count $($t),+) }; + // Preserve the whitespace-separated token shape across recursion. + (@count $t1:tt $($t:tt)+) => { 1 + primitives!(@count $($t)+) }; (@count $t:tt) => { 1 }; }