Mercurial > projects > ldc
comparison dmd/identifier.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 | f5d5bc9295b1 |
children | e961851fb8be |
comparison
equal
deleted
inserted
replaced
1102:ae950bd712d3 | 1103:b30fe7e1dbb9 |
---|---|
91 | 91 |
92 Identifier *Identifier::generateId(const char *prefix, size_t i) | 92 Identifier *Identifier::generateId(const char *prefix, size_t i) |
93 { OutBuffer buf; | 93 { OutBuffer buf; |
94 | 94 |
95 buf.writestring(prefix); | 95 buf.writestring(prefix); |
96 buf.printf("%"PRIuSIZE, i); | 96 buf.printf("%zu", i); |
97 | 97 |
98 char *id = buf.toChars(); | 98 char *id = buf.toChars(); |
99 buf.data = NULL; | 99 buf.data = NULL; |
100 return Lexer::idPool(id); | 100 return Lexer::idPool(id); |
101 } | 101 } |