Soft'N'Design Software
/
projects
/
calc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix error managment
[calc.git]
/
parser.h
diff --git
a/parser.h
b/parser.h
index 95bfa2fa4715510b3e2789a14f22d0098ae12994..80fbd984ca68fe213910df0496f3a7d112908f74 100644
(file)
--- a/
parser.h
+++ b/
parser.h
@@
-16,7
+16,9
@@
typedef enum {
Log, Exp,
Store, Recall, Disp,
Quit, Help,
- Ans, E, Pi
+ Ans, E, Pi,
+ Equal, Diff, Ge, Le, Gt, Lt,
+ And, Or, Not
} func_t;
/* keyword type */
@@
-26,7
+28,7
@@
typedef struct _keyword_t {
func_t func;
int nbops;
int offset;
-
in
t prio;
+
floa
t prio;
} keyword_t;
/* calculus element type */