Browse Source

Changed pseudo array object name.

woollybah 11 years ago
parent
commit
1c2ac95d38
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ctranslator.bmx

+ 2 - 2
ctranslator.bmx

@@ -1458,7 +1458,7 @@ EndRem
 				End If
 			End If
 			
-			If TObjectType( src) And (TObjectType( src ).classDecl.ident = "Array" Or TObjectType( src ).classDecl.ident = "Object") Then
+			If TObjectType( src) And (TObjectType( src ).classDecl.ident = "___Array" Or TObjectType( src ).classDecl.ident = "Object") Then
 				Return "bbArrayCastFromObject" + Bra(t + "," + TransArrayType(TArrayType( dst ).elemType))
 			End If
 		Else If TObjectType( dst )
@@ -3009,7 +3009,7 @@ End Rem
 		Local s:String = variable
 
 		' array.length
-		If decl.scope And decl.scope.ident = "Array" Then
+		If decl.scope And decl.scope.ident = "___Array" Then
 			If decl.ident = "length" Then
 				Return Bra(variable + "->scales[0]")
 			End If