X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=parser.h;fp=parser.h;h=67dd9ab2a7f9ef1f64f6c5eea95c665294c35af1;hb=0c95a3d31691b710e5f58b32a7bbc3f344c44ecd;hp=49acc2080005a8c4cef2f635c71010889f71d09a;hpb=09d87caeb9df4b9e5213374d0fb0459cfcebec44;p=calc.git diff --git a/parser.h b/parser.h index 49acc20..67dd9ab 100644 --- a/parser.h +++ b/parser.h @@ -34,11 +34,10 @@ typedef struct _keyword_t { /* calculus element type */ -#define MAX_OPERANDS 10 typedef struct _element_t { func_t func; int nbops; - struct _element_t *ops[MAX_OPERANDS]; + struct _element_t **ops; double value; int prio; } element_t;