diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-01-05 11:18:13 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-01-05 11:18:13 +0100 |
| commit | bd384a2a633e21cd7deff7ed2a29a9c03a63a20e (patch) | |
| tree | 12246c7c9142efe5fc2b2feb14fe4f286e3e177f /src/library/direction.rs | |
| parent | 7b84f3b553de672e5374e142467f63b10009aeca (diff) | |
Re-enable *, _ and `.
Diffstat (limited to 'src/library/direction.rs')
| -rw-r--r-- | src/library/direction.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/library/direction.rs b/src/library/direction.rs index 7bb11c99..a0992075 100644 --- a/src/library/direction.rs +++ b/src/library/direction.rs @@ -1,16 +1,17 @@ use crate::func::prelude::*; use super::maps::PosAxisMap; + function! { /// `direction`: Sets the directions of the layouting axes. #[derive(Debug, PartialEq)] - pub struct DirectionChange { + pub struct DirectionFunc { body: Option<SyntaxTree>, map: PosAxisMap<Direction>, } parse(args, body, ctx) { - DirectionChange { + DirectionFunc { body: parse!(optional: body, ctx), map: PosAxisMap::new(&mut args)?, } |
