diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-04 16:19:29 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-04 16:19:29 +0800 |
commit | 418f6ed5dd00e296b87b202a99753632fc593382 (patch) | |
tree | 7e372342b3fa116c7c695ac8f77c2b994dc1bd44 /consts.h | |
parent | 65f17438de5983ca010e10b4b24c5da65756a9b5 (diff) |
added more error report
Diffstat (limited to 'consts.h')
-rw-r--r-- | consts.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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[]; |