[svn r136] MAJOR UNSTABLE UPDATE!!!

Initial commit after moving to Tango instead of Phobos.

Lots of bugfixes...

This build is not suitable for most things.
This commit is contained in:
Tomas Lindquist Olsen
2008-01-11 17:57:40 +01:00
parent bc08c6fcb1
commit b15b3484c8
524 changed files with 270705 additions and 175 deletions

View File

@@ -6,6 +6,8 @@
#include <fstream>
#include <string>
#include "mars.h"
#include "gen/logger.h"
namespace Logger
@@ -67,9 +69,9 @@ namespace Logger
{
return _enabled;
}
void attention(const char* fmt,...)
void attention(const Loc& loc, const char* fmt,...)
{
printf("***ATTENTION*** ");
printf("***ATTENTION***: %s: ", loc.toChars());
va_list va;
va_start(va,fmt);
vprintf(fmt,va);