aboutsummaryrefslogtreecommitdiff
path: root/consts.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-04 16:19:29 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-04 16:19:29 +0800
commit418f6ed5dd00e296b87b202a99753632fc593382 (patch)
tree7e372342b3fa116c7c695ac8f77c2b994dc1bd44 /consts.h
parent65f17438de5983ca010e10b4b24c5da65756a9b5 (diff)
added more error report
Diffstat (limited to 'consts.h')
-rw-r--r--consts.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/consts.h b/consts.h
index a4f4ae3..5e3f43d 100644
--- a/consts.h
+++ b/consts.h
@@ -4,8 +4,12 @@
enum ErrCode {
SYN_ERR_NOT_AN_ID,
SYN_ERR_CAN_NOT_APPLY,
- SYN_ERR_ID_EXPECTED,
- SYN_ERR_UNBOUND_VAR
+ RUN_ERR_UNBOUND_VAR,
+ SYN_ERR_MISS_OR_EXTRA_EXP,
+ SYN_ERR_EMPTY_PARA_LIST,
+ RUN_ERR_WRONG_NUM_OF_ARGS,
+ SYN_ERR_EMPTY_COMB,
+ READ_ERR_UNEXPECTED_RIGHT_BRACKET
};
extern const char *SYN_ERR_MSG[];