Mercurial > projects > dil
comparison trunk/src/dil/Information.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 | 50e64bab9c7a |
children | 9c47f377ca0b |
comparison
equal
deleted
inserted
replaced
743:764f660e3909 | 744:7173ece1b696 |
---|---|
17 class InfoManager | 17 class InfoManager |
18 { | 18 { |
19 Information[] info; | 19 Information[] info; |
20 | 20 |
21 void opCatAssign(Information info) | 21 void opCatAssign(Information info) |
22 { | |
23 this.info ~= info; | |
24 } | |
25 | |
26 void opCatAssign(Information[] info) | |
22 { | 27 { |
23 this.info ~= info; | 28 this.info ~= info; |
24 } | 29 } |
25 } | 30 } |
26 | 31 |