X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=parser.h;fp=parser.h;h=8307c887517586efc48cca1a4c79343d04addc55;hb=05aabb97dcdb2a87f0ddebe5a32391101da318eb;hp=4907c67699a74dc69f5655065e5165df7ae8b072;hpb=c7cbb833c65805634f6e9832b49e4a4680a4a4a6;p=calc.git diff --git a/parser.h b/parser.h index 4907c67..8307c88 100644 --- 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;