/***************************************************
interface file for arithmatic_expression
author:ljd
****************************************************/
#ifndef ARITH_EXPR_H_
#define ARITH_EXPR_H_
struct NUM
{
int type; //0 :integer;1:float
union {int ivalue;float fvalue;}value;
};
void init(FILE * fp,char * expr_str);
struct NUM * compute();
#endif
interface file for arithmatic_expression
author:ljd
****************************************************/
#ifndef ARITH_EXPR_H_
#define ARITH_EXPR_H_
struct NUM
{
int type; //0 :integer;1:float
union {int ivalue;float fvalue;}value;
};
void init(FILE * fp,char * expr_str);
struct NUM * compute();
#endif