[svn r76] Fixed: TypeInfo for structs.

Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
This commit is contained in:
Tomas Lindquist Olsen
2007-10-29 03:28:12 +01:00
parent 848ecbed0d
commit 4230f2ef11
12 changed files with 367 additions and 204 deletions

View File

@@ -937,6 +937,8 @@ class TypeInfo_Interface : TypeInfo
ClassInfo info;
}
+/
class TypeInfo_Struct : TypeInfo
{
char[] toString() { return name; }
@@ -987,7 +989,7 @@ class TypeInfo_Struct : TypeInfo
return c;
}
int compare(void *p2, void *p1)
int compare(void *p1, void *p2)
{
int c = 0;
@@ -1029,6 +1031,8 @@ class TypeInfo_Struct : TypeInfo
uint m_flags;
}
/+
class TypeInfo_Tuple : TypeInfo
{
TypeInfo[] elements;