func_t func;
int nbops;
int offset;
+ int prio;
} keyword_t;
/* calculus element type */
int nbops;
struct _element_t *ops[MAX_OPERANDS];
float value;
+ int prio;
} element_t;
#define ERROR_OP ((element_t *)(-1))
/* parser function */
-element_t *parser (char *str, char **next);
+element_t *parser (char *str, char **next, int prio);
void print_element (element_t *root, int level);