Mercurial > projects > dil
diff trunk/src/main.d @ 744:7173ece1b696
Wrapped some macro functions inside struct MacroExpander.
Warning messages from the macro expansion pass are collected now.
Tidied up predefined.ddoc a bit, and added some macros.
Added two messages to struct MSG.
Added another opCatAssign to class InfoManager.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 09 Feb 2008 22:54:31 +0100 |
parents | f3dead0310ce |
children | 32a8ddd330f8 |
line wrap: on
line diff
--- a/trunk/src/main.d Sat Feb 09 19:27:14 2008 +0100 +++ b/trunk/src/main.d Sat Feb 09 22:54:31 2008 +0100 @@ -311,6 +311,8 @@ errorFormat = GlobalSettings.parserErrorFormat; else if (info.classinfo is SemanticError.classinfo) errorFormat = GlobalSettings.semanticErrorFormat; + else if (info.classinfo is Warning.classinfo) + errorFormat = "{0}: Warning: {3}"; else continue; auto err = cast(Problem)info;