buggy commit
[calc.git] / parser.h
index 4907c67699a74dc69f5655065e5165df7ae8b072..8307c887517586efc48cca1a4c79343d04addc55 100644 (file)
--- a/parser.h
+++ b/parser.h
@@ -20,7 +20,7 @@ typedef enum {
     Ans, E, Pi,
     Equal, Diff, Ge, Le, Gt, Lt,
     And, Or, Not,
-    Cond, While, Prog, Print,
+    Cond, While, Code, Print,
     Prog, Call, List, Edit, Del
 } func_t;
 
@@ -53,6 +53,7 @@ typedef struct _workspace_t {
     int id;
     double answer;
     double *storage;
+    int storage_size;
     element_t *root;
 } workspace_t;