Go to the documentation of this file.
44 #ifndef LHOGHO_GLOBALS_H
45 #define LHOGHO_GLOBALS_H
74 #define noDEBUG_ATOM_LIST
76 #define noDEBUG_TOKENS
77 #define noDEBUG_LIST_FLAGS
78 #define noDEBUG_LIST_TOKEN_FLAGS
79 #define noDEBUG_REF_COUNT
80 #define noDEBUG_TOKENIZATION
81 #define noDEBUG_PARENTHESES
83 #define noDEBUG_TO_END
84 #define noDEBUG_COMPILE
85 #define noDEBUG_FIND_VAR
86 #define noDEBUG_FIND_RUNTIME_VAR
87 #define noDEBUG_RUNTIME_ATOMS
88 #define noDEBUG_COMPILETIME_ATOMS
89 #define DEBUG_CLEAR_FREED_MEM
90 #define noDEBUG_MEMORY_LEAKS
92 #ifdef DEBUG_MEMORY_LEAKS
93 #define DEBUG_CLEAR_FREED_MEM
103 #define PROCESSOR_NAME "i386"
104 //#define ASM_STORE_RESULT "push %%ebx; push %%eax; push %%esi;"
105 //#define ASM_RESTORE_RESULT "pop %%esi; pop %%eax; pop %%ebx"
106 #define ASM_STORE_RESULT "pusha"
107 #define ASM_RESTORE_RESULT "popa"
108 #define ASM_CLOBBER_REGISTERS "%eax","%ebx","%ecx","%edx","%esi","%edi","memory","cc"
115 #define OS_NAME "windows"
119 #define GCC_VERSION (__GNUC__ * 10000 \
120 + __GNUC_MINOR__ * 100 \
121 + __GNUC_PATCHLEVEL__)
126 #if GCC_VERSION > 40199 // GCC
127 #define UNSUPPORTED_COMPILER
130 #define UNSUPPORTED_COMPILER
135 #define OS_NAME "linux"
139 #define OS_NAME "darwin"
143 #error "Undefined operating system"
146 #ifndef PROCESSOR_NAME
147 #error "Undefined processor"
172 #endif //UNICODE_CHARS
175 #define Z printf("--- %s() in %s:%d---\n",__FUNCTION__,__FILE__,__LINE__)
220 #endif //LHOGHO_GLOBALS_H
[ HOME | INDEX | ATOMS | VARS | REFERENCE ]
Lhogho Developer's Documentation
Wed Jul 10 2013