SE250:lab-9:hlin079
Jump to navigation
Jump to search
bool eqToken( Token a, Token b ) { if (a.type!=b.type){ return false;} if (type==){ return a.val.intval==b.val.intval; } if (type==T_FLOAT){ return a.val.fltval==b.val.fltval}
if (type==T_SYMBOL){ return a.val.symval==b.val.symval; }
if (type==T_STRING){ return a.val.strval==b.val.strval; } if ((tyep==T_END)||(type==T_NOTHING)){ return true; }
}
lost ...............lost...............
coming back soon.................