Merge dmd v2.055

This commit is contained in:
Alexey Prokhin
2011-09-12 15:38:38 +04:00
parent 8f4a15c868
commit 0e754b5acd
74 changed files with 3809 additions and 2240 deletions

View File

@@ -62,12 +62,12 @@ void MultiSetter::operator=(bool val) {
}
void ArrayAdapter::push_back(const char* cstr) {
void StringsAdapter::push_back(const char* cstr) {
if (!cstr || !*cstr)
error("Expected argument to '-%s'", name);
if (!*arrp)
*arrp = new Array;
*arrp = new Strings;
(*arrp)->push(mem.strdup(cstr));
}