comparison dmd/macro.c @ 1103:b30fe7e1dbb9

- Updated to DMD frontend 1.041. - Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 12 Mar 2009 20:37:27 +0100
parents cbd6c8073a32
children
comparison
equal deleted inserted replaced
1102:ae950bd712d3 1103:b30fe7e1dbb9
14 #include <string.h> 14 #include <string.h>
15 #include <time.h> 15 #include <time.h>
16 #include <ctype.h> 16 #include <ctype.h>
17 #include <assert.h> 17 #include <assert.h>
18 18
19 #if IN_GCC || IN_LLVM 19 #include "rmem.h"
20 #include "mem.h"
21 #else
22 #if _WIN32
23 #include "..\root\mem.h"
24 #elif POSIX
25 #include "../root/mem.h"
26 #else
27 #error "fix this"
28 #endif
29 #endif
30
31 #include "root.h" 20 #include "root.h"
21
32 #include "macro.h" 22 #include "macro.h"
33 23
34 #define isidstart(c) (isalpha(c) || (c) == '_') 24 #define isidstart(c) (isalpha(c) || (c) == '_')
35 #define isidchar(c) (isalnum(c) || (c) == '_') 25 #define isidchar(c) (isalnum(c) || (c) == '_')
36 26