aboutsummaryrefslogtreecommitdiff
path: root/consts.h
diff options
context:
space:
mode:
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[];