Mercurial > projects > ddmd
comparison dmd/Expression.d @ 179:cd48cb899aee
Updated to dmd2.040
author | korDen |
---|---|
date | Sun, 17 Oct 2010 20:56:07 +0400 |
parents | e3afd1303184 |
children | b0d41ff5e0df |
comparison
equal
deleted
inserted
replaced
178:e3afd1303184 | 179:cd48cb899aee |
---|---|
321 a.setDim(exps.dim); | 321 a.setDim(exps.dim); |
322 for (size_t i = 0; i < a.dim; i++) | 322 for (size_t i = 0; i < a.dim; i++) |
323 { | 323 { |
324 auto e = exps[i]; | 324 auto e = exps[i]; |
325 | 325 |
326 e = e.syntaxCopy(); | 326 if (e) |
327 e = e.syntaxCopy(); | |
327 a[i] = e; | 328 a[i] = e; |
328 } | 329 } |
329 } | 330 } |
330 return a; | 331 return a; |
331 } | 332 } |