aboutsummaryrefslogtreecommitdiff
path: root/consts.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-05 19:49:31 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-05 19:49:31 +0800
commita6574b0025b68eb28a8c7d679ca6783132ad013d (patch)
tree09f8e9976e209c9e7bf48556e8d90f211c1b3464 /consts.h
parent5dba94ed1eec7a808cab022a23480b4d39518307 (diff)
complex, real, rational, integral number support
Diffstat (limited to 'consts.h')
-rw-r--r--consts.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/consts.h b/consts.h
index 5991317..e88cd31 100644
--- a/consts.h
+++ b/consts.h
@@ -10,9 +10,10 @@ enum ErrCode {
RUN_ERR_WRONG_NUM_OF_ARGS,
SYN_ERR_EMPTY_COMB,
READ_ERR_UNEXPECTED_RIGHT_BRACKET,
- RUN_ERR_WRONG_TYPE
+ RUN_ERR_WRONG_TYPE,
+ INT_ERR
};
-extern const char *SYN_ERR_MSG[];
+extern const char *ERR_MSG[];
#endif