Mercurial > projects > ldc
comparison gen/typinf.cpp @ 764:8e7d4ddab66d
Forgot D2 versioning on typeinfo change.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 07:23:34 +0100 |
parents | 9a9f403ab399 |
children | af04bbae8553 |
comparison
equal
deleted
inserted
replaced
763:9a9f403ab399 | 764:8e7d4ddab66d |
---|---|
228 return 0; | 228 return 0; |
229 } | 229 } |
230 | 230 |
231 int TypeBasic::builtinTypeInfo() | 231 int TypeBasic::builtinTypeInfo() |
232 { | 232 { |
233 #if DMDV2 | |
233 return !mod; | 234 return !mod; |
235 #else | |
236 return 1; | |
237 #endif | |
234 } | 238 } |
235 | 239 |
236 int TypeDArray::builtinTypeInfo() | 240 int TypeDArray::builtinTypeInfo() |
237 { | 241 { |
238 #if DMDV2 | 242 #if DMDV2 |