Mercurial > projects > ldc
comparison dmd2/macro.c @ 1452:638d16625da2
LDC 2 compiles again.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Sat, 30 May 2009 17:23:32 +0100 |
parents | f04dde6e882c |
children |
comparison
equal
deleted
inserted
replaced
1423:42bd767ec5a4 | 1452:638d16625da2 |
---|---|
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 |