3 void set_exp(char *exp
, double x
);
4 // puts the token back to line
5 void putback(double *hold
);
6 // gets the expression. This function is used externally
7 int get_exp(double *hold
);
9 void level2(double *hold
);
11 void level3(double *hold
);
13 void level4(double *hold
);
15 void level5(double *hold
);
16 // works with elementary tokens
17 void level6(double *hold
);
18 // gets value of number, function or variable
19 void primitive(double *hold
);
20 // performs arithmetical operation
21 void arith(char op
, double *r
, double *h
);
22 // performs unary (one-operand) operation
23 void unary(char op
, double *r
);
24 // gets variable value by name
25 double find_var(char *s
);
26 // stops execution of parser and return error code
27 void serror(int code
);
28 // checks the function table to see if such a function exists