From 76fc4cca62f5b955200b2c62cc85b69eea491ece Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 25 Mar 2021 21:32:33 +0100 Subject: =?UTF-8?q?Refactor=20alignments=20&=20directions=20=F0=9F=93=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Adds lang function - Refactors execution context - Adds StackChild and ParChild enums --- src/exec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exec/mod.rs') diff --git a/src/exec/mod.rs b/src/exec/mod.rs index 6f3b9c83..69a41beb 100644 --- a/src/exec/mod.rs +++ b/src/exec/mod.rs @@ -65,7 +65,7 @@ impl ExecWithMap for Node { fn exec_with_map(&self, ctx: &mut ExecContext, map: &NodeMap) { match self { Node::Text(text) => ctx.push_text(text), - Node::Space => ctx.push_space(), + Node::Space => ctx.push_word_space(), _ => map[&(self as *const _)].exec(ctx), } } -- cgit v1.2.3