aboutsummaryrefslogtreecommitdiff
path: root/const.h
blob: ef869c8d1226c1e4e4d40989ef9f494164d965d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef CONST_H
#define CONST_H
enum {
    EXP_POSTFIX = 1024,
    POSTFIX_ARR, 
    POSTFIX_CALL,
    POSTFIX_DOT, 
    POSTFIX_PTR, 
    EXP_CAST,    
    INITR_NORM,  
    INITR_ARR,   
    DECLR_FUNC,  
    DECLR_ARR,   
    STMT_EXP,    
    STMT_COMP,   
    STMT_IF,     
    STMT_WHILE,  
    STMT_FOR,    
    STMT_CONT,   
    STMT_BREAK,  
    STMT_RET,
    NS_ID,
    NS_TAG
};

#define MAX_CHDN        1024
#define MAX_DEBUG_PRINT_BUFF 1024
#define MAX_DEBUG_PRINT_LVL  1024
#define MAX_TABLE_SIZE  1021
#define MAX_ERROR_BUFF  1024
#define INT_SIZE        4
#define CHAR_SIZE       1
#define EXT_LINKAGE     1
#define NO_LINKAGE     0
#endif