diff options
Diffstat (limited to 'src/sexp/mod.rs')
-rw-r--r-- | src/sexp/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sexp/mod.rs b/src/sexp/mod.rs index d866be5..dee672f 100644 --- a/src/sexp/mod.rs +++ b/src/sexp/mod.rs @@ -9,6 +9,7 @@ pub mod subst; /// variables, functions (to be added) or values. #[derive(Debug)] #[derive(PartialEq)] +#[derive(Clone)] pub enum SLeaf { Add, Sub, @@ -24,6 +25,7 @@ pub enum SLeaf { /// IETF-standardized s-expressions; they are only inspiration. #[derive(Debug)] #[derive(PartialEq)] +#[derive(Clone)] pub enum SExp { SCons(Box<SExp>, Box<SExp>), Atom(SLeaf), |