annotate dmd/DsymbolExp.d @ 0:10317f0c89a5

Initial commit
author korDen
date Sat, 24 Oct 2009 08:42:06 +0400
parents
children 2e2a5c3f943a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.DsymbolExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 import dmd.Expression;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.OutBuffer;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 import dmd.EnumMember;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 import dmd.VarDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 import dmd.FuncDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 import dmd.FuncLiteralDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 import dmd.OverloadSet;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 import dmd.Declaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 import dmd.ClassDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 import dmd.Import;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 import dmd.Package;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 import dmd.Type;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 import dmd.DotVarExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16 import dmd.ThisExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
17 import dmd.VarExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
18 import dmd.FuncExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
19 import dmd.OverExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
20 import dmd.DotTypeExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21 import dmd.ScopeExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
22 import dmd.Module;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
23 import dmd.TypeExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
24 import dmd.TupleDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
25 import dmd.TupleExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
26 import dmd.TemplateInstance;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
27 import dmd.Global;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
28 import dmd.TemplateDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
29 import dmd.TemplateExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
30 import dmd.Loc;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
31 import dmd.Scope;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
32 import dmd.HdrGenState;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
33 import dmd.Dsymbol;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
34 import dmd.TOK;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
35
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
36 class DsymbolExp : Expression
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
37 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
38 Dsymbol s;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
39 int hasOverloads;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
40
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
41 this(Loc loc, Dsymbol s, int hasOverloads = 0)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
42 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
43 super(loc, TOK.TOKdsymbol, DsymbolExp.sizeof);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
44 this.s = s;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
45 this.hasOverloads = hasOverloads;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
46 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
47
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
48 Expression semantic(Scope sc)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
49 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
50 version (LOGSEMANTIC) {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
51 printf("DsymbolExp.semantic('%s')\n", s.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
52 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
53
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
54 Lagain:
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
55 EnumMember em;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
56 Expression e;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
57 VarDeclaration v;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
58 FuncDeclaration f;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
59 FuncLiteralDeclaration fld;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
60 OverloadSet o;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
61 Declaration d;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
62 ClassDeclaration cd;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
63 ClassDeclaration thiscd = null;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
64 Import imp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
65 Package pkg;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
66 Type t;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
67
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
68 //printf("DsymbolExp. %p '%s' is a symbol\n", this, toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
69 //printf("s = '%s', s.kind = '%s'\n", s.toChars(), s.kind());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
70 if (type)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
71 return this;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
72
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
73 if (!s.isFuncDeclaration()) // functions are checked after overloading
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
74 checkDeprecated(sc, s);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
75
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
76 s = s.toAlias();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
77 //printf("s = '%s', s.kind = '%s', s.needThis() = %p\n", s.toChars(), s.kind(), s.needThis());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
78 if (!s.isFuncDeclaration())
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
79 checkDeprecated(sc, s);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
80
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
81 if (sc.func)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
82 thiscd = sc.func.parent.isClassDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
83
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
84 // BUG: This should happen after overload resolution for functions, not before
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
85 if (s.needThis())
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
86 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
87 version (DMDV2) {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
88 bool cond = !s.isFuncDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
89 } else {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
90 bool cond = true;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
91 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
92 if (hasThis(sc) && cond)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
93 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
94 // Supply an implicit 'this', as in
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
95 // this.ident
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
96 DotVarExp de = new DotVarExp(loc, new ThisExp(loc), s.isDeclaration());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
97 return de.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
98 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
99 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
100
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
101 em = s.isEnumMember();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
102 if (em)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
103 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
104 e = em.value;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
105 e = e.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
106 return e;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
107 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
108 v = s.isVarDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
109 if (v)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
110 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
111 //printf("Identifier '%s' is a variable, type '%s'\n", toChars(), v.type.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
112 if (!type)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
113 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
114 type = v.type;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
115 if (!v.type)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
116 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
117 error("forward reference of %s %s", v.kind(), v.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
118 type = Type.terror;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
119 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
120 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
121
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
122 e = new VarExp(loc, v);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
123 e.type = type;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
124 e = e.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
125 return e.deref();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
126 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
127
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
128 fld = s.isFuncLiteralDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
129 if (fld)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
130 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
131 //printf("'%s' is a function literal\n", fld.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
132 e = new FuncExp(loc, fld);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
133 return e.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
134 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
135 f = s.isFuncDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
136 if (f)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
137 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
138 //printf("'%s' is a function\n", f.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
139
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
140 if (!f.type.deco)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
141 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
142 error("forward reference to %s", toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
143 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
144 return new VarExp(loc, f, hasOverloads);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
145 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
146 o = s.isOverloadSet();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
147 if (o)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
148 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
149 //printf("'%s' is an overload set\n", o.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
150 return new OverExp(o);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
151 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
152 cd = s.isClassDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
153 if (cd && thiscd && cd.isBaseOf(thiscd, null) && sc.func.needThis())
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
154 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
155 // We need to add an implicit 'this' if cd is this class or a base class.
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
156 DotTypeExp dte = new DotTypeExp(loc, new ThisExp(loc), s);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
157 return dte.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
158 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
159 imp = s.isImport();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
160 if (imp)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
161 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
162 if (!imp.pkg)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
163 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
164 error("forward reference of import %s", imp.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
165 return this;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
166 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
167 ScopeExp ie = new ScopeExp(loc, imp.pkg);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
168 return ie.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
169 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
170 pkg = s.isPackage();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
171 if (pkg)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
172 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
173 ScopeExp ie = new ScopeExp(loc, pkg);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
174 return ie.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
175 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
176 Module mod = s.isModule();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
177 if (mod)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
178 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
179 ScopeExp ie = new ScopeExp(loc, mod);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
180 return ie.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
181 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
182
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
183 t = s.getType();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
184 if (t)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
185 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
186 return new TypeExp(loc, t);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
187 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
188
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
189 TupleDeclaration tup = s.isTupleDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
190 if (tup)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
191 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
192 e = new TupleExp(loc, tup);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
193 e = e.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
194 return e;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
195 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
196
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
197 TemplateInstance ti = s.isTemplateInstance();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
198 if (ti && !global.errors)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
199 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
200 if (!ti.semanticRun)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
201 ti.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
202
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
203 s = ti.inst.toAlias();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
204 if (!s.isTemplateInstance())
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
205 goto Lagain;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
206
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
207 e = new ScopeExp(loc, ti);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
208 e = e.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
209 return e;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
210 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
211
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
212 TemplateDeclaration td = s.isTemplateDeclaration();
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
213 if (td)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
214 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
215 e = new TemplateExp(loc, td);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
216 e = e.semantic(sc);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
217 return e;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
218 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
219
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
220 Lerr:
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
221 error("%s '%s' is not a variable", s.kind(), s.toChars());
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
222 type = Type.terror;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
223 return this;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
224 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
225
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
226 string toChars()
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
227 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
228 assert(false);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
229 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
230
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
231 void dump(int indent)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
232 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
233 assert(false);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
234 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
235
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
236 void toCBuffer(OutBuffer buf, HdrGenState* hgs)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
237 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
238 assert(false);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
239 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
240
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
241 int isLvalue()
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
242 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
243 assert(false);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
244 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
245
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
246 Expression toLvalue(Scope sc, Expression e)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
247 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
248 assert(false);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
249 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
250 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
251