From cad31397ec7b341b2dde9ff6de259e6377832663 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 6 Aug 2024 03:22:31 -0400 Subject: [PATCH] xo-expression: straggler: exprtype::define --- include/xo/expression/exprtype.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/xo/expression/exprtype.hpp b/include/xo/expression/exprtype.hpp index d8e66a61..c108bb2d 100644 --- a/include/xo/expression/exprtype.hpp +++ b/include/xo/expression/exprtype.hpp @@ -22,6 +22,8 @@ namespace xo { constant, /** a literal constant that refers to a linkable named function **/ primitive, + /** variable/function definition **/ + define, /** function call **/ apply, /** function definition **/ @@ -42,6 +44,7 @@ namespace xo { case exprtype::invalid: return "?exprtype"; case exprtype::constant: return "constant"; case exprtype::primitive: return "primitive"; + case exprtype::define: return "define"; case exprtype::apply: return "apply"; case exprtype::lambda: return "lambda"; case exprtype::variable: return "variable";