diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-25 21:32:33 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-25 21:32:33 +0100 |
| commit | 76fc4cca62f5b955200b2c62cc85b69eea491ece (patch) | |
| tree | 5b8492268c996cf23b13e26c7a4356fbd156286d /src/exec/mod.rs | |
| parent | e8057a53856dc09594c9e5861f1cd328531616e0 (diff) | |
Refactor alignments & directions 📐
- Adds lang function
- Refactors execution context
- Adds StackChild and ParChild enums
Diffstat (limited to 'src/exec/mod.rs')
| -rw-r--r-- | src/exec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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), } } |
