Mercurial > projects > ldc
comparison dmd/mars.h @ 1124:e7f0c2b48047
Fix a bug where ::warning() was called with a va_list argument instead of an
actual vararg list.
Also cleaned up the format for warnings. (Previously some would start with
"warning - warning - Warning:" which was a bit redundant)
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Wed, 18 Mar 2009 15:03:17 +0100 |
parents | b30fe7e1dbb9 |
children | e40c65bd8c5d |
comparison
equal
deleted
inserted
replaced
1123:165a920f4e88 | 1124:e7f0c2b48047 |
---|---|
386 #endif | 386 #endif |
387 MATCHexact // exact match | 387 MATCHexact // exact match |
388 }; | 388 }; |
389 | 389 |
390 void warning(Loc loc, const char *format, ...); | 390 void warning(Loc loc, const char *format, ...); |
391 void vwarning(Loc loc, const char *format, va_list); | |
391 void error(Loc loc, const char *format, ...); | 392 void error(Loc loc, const char *format, ...); |
392 void verror(Loc loc, const char *format, va_list); | 393 void verror(Loc loc, const char *format, va_list); |
393 void fatal(); | 394 void fatal(); |
394 void err_nomem(); | 395 void err_nomem(); |
395 void inifile(char *argv0, const char *inifile); | 396 void inifile(char *argv0, const char *inifile); |