2017-04-22 14:39:52 -04:00
|
|
|
/**********************************
|
|
|
|
* C02 Expession Parsing Routines *
|
|
|
|
**********************************/
|
|
|
|
|
2018-02-13 17:25:57 -05:00
|
|
|
char term[255]; //Term parsed from equation
|
2017-04-22 14:39:52 -04:00
|
|
|
|
2017-04-30 21:17:50 -04:00
|
|
|
char fnstck[MAXFNS][VARLEN+1]; //Function Call Stack
|
|
|
|
int fnscnt; //Number of Functions in Stack
|
|
|
|
|
2018-02-13 18:16:23 -05:00
|
|
|
int chkadr(int adract); //Check for and Process Address or String
|
2018-02-13 17:25:57 -05:00
|
|
|
void chkidx(); //Check for, Parse, and Process Index
|
|
|
|
void prsadr(int adract); //Parse and Compile Address of Operator
|
|
|
|
void prsfnc(char trmntr); //Parse function call
|
|
|
|
void prsidx(); //Parse Array Index
|
|
|
|
void prstrm(); //Parse Term in Expression
|
|
|
|
void prsxpr(char trmntr); //Parse Expression
|
2017-04-22 14:39:52 -04:00
|
|
|
|
2017-04-30 21:17:50 -04:00
|
|
|
|