diff options
Diffstat (limited to 'apl9.h')
-rw-r--r-- | apl9.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -12,8 +12,6 @@ typedef enum BoundFunctionTag, /* Function with left arg bound */ LParTag, RParTag, - LCurlTag, - RCurlTag, LBracketTag, RBracketTag, ArrowTag, @@ -27,6 +25,12 @@ typedef enum AtypeArray, } arrayDataType; +typedef enum +{ + FunctypeDfn, + FunctypePrim, +} functionType; + /* Data types */ typedef struct Array Array; typedef struct Statement Statement; @@ -58,9 +62,10 @@ struct Statement struct Function { + functionType type; union { int code; - Statement *dfn; + Rune *dfn; }; Array *left; }; |