aboutsummaryrefslogblamecommitdiff
path: root/const.h
blob: 0e307bc4dcccf0fb6e547dbe010c78443071ea7b (plain) (tree)



















                       


             
  
                            
                            


                                     
                            
                                
                            

                         
                         

                                     
 
      
#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_BLOCK       1024
#define MAX_CHDN        1024
#define MAX_DEBUG_PRINT_BUFF 10240000
#define MAX_DEBUG_PRINT_LVL  10240000
#define MAX_LINEBUFF         10240000
#define MAX_TABLE_SIZE  1021
#define MAX_ERROR_BUFF  10240000
#define MAX_NAMELEN     1024
#define INT_SIZE        4
#define CHAR_SIZE       1
#define PTR_SIZE        4
#define FLAG_FUNC_CHK        (1 << 0)
#define FLAG_FUNC_DEF        (1 << 1)

#endif