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
print function
[calc.git]
/
parser.h
diff --git
a/parser.h
b/parser.h
index b48f6d004491d09494ecd158e2d7ca2db94a4333..9e4c3f608f18196905f8eca679c70fae004ce369 100644
(file)
--- a/
parser.h
+++ b/
parser.h
@@
-5,6
+5,8
@@
extern double answer;
+extern char format[9];
+
/* function type */
typedef enum {
@@
-20,7
+22,7
@@
typedef enum {
Ans, E, Pi,
Equal, Diff, Ge, Le, Gt, Lt,
And, Or, Not,
- Cond, While, Prog
+ Cond, While, Prog
, Print
} func_t;
/* keyword type */