Mercurial > projects > dil
comparison trunk/src/dil/Messages.d @ 730:5cb236c6fe52
Added static this() to dil.Messages.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 03 Feb 2008 18:59:34 +0100 |
parents | 95a3c28c0f64 |
children | 7173ece1b696 |
comparison
equal
deleted
inserted
replaced
729:ec8dd7b8bf0c | 730:5cb236c6fe52 |
---|---|
72 HelpImportGraph, | 72 HelpImportGraph, |
73 } | 73 } |
74 | 74 |
75 private string[] messages; | 75 private string[] messages; |
76 | 76 |
77 static this() | |
78 { | |
79 messages = new string[MID.max+1]; | |
80 } | |
81 | |
77 package void SetMessages(string[] msgs) | 82 package void SetMessages(string[] msgs) |
78 { | 83 { |
79 assert(MID.max+1 == msgs.length); | 84 assert(MID.max+1 == msgs.length); |
80 messages = msgs; | 85 messages = msgs; |
81 } | 86 } |