X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=parser.h;h=80fbd984ca68fe213910df0496f3a7d112908f74;hb=686c4bc2a512a57b6c672792b6b44e2d61458dfb;hp=fb09da26debb0caf909dfb211775af657ec765de;hpb=7fe742c952b6b315442284b2eea8ddb4c66f24c6;p=calc.git diff --git a/parser.h b/parser.h index fb09da2..80fbd98 100644 --- a/parser.h +++ b/parser.h @@ -17,7 +17,8 @@ typedef enum { Store, Recall, Disp, Quit, Help, Ans, E, Pi, - Equal, Diff, Ge, Le, Gt, Lt + Equal, Diff, Ge, Le, Gt, Lt, + And, Or, Not } func_t; /* keyword type */ @@ -27,7 +28,7 @@ typedef struct _keyword_t { func_t func; int nbops; int offset; - int prio; + float prio; } keyword_t; /* calculus element type */