aboutsummaryrefslogblamecommitdiff
path: root/consts.h
blob: 5e3f43dd96b67e7a7f4cdca1b5fdc01fa0f44a79 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12





                          





                                     




                                 
#ifndef CONSTS_H
#define CONSTS_H

enum ErrCode {
    SYN_ERR_NOT_AN_ID,
    SYN_ERR_CAN_NOT_APPLY,
    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[];

#endif