SE250:lab-9:hlin079: Difference between revisions
Jump to navigation
Jump to search
m 1 revision(s) |
(No difference)
|
Latest revision as of 05:20, 3 November 2008
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.................