浏览代码

Changed pseudo array object name.

woollybah 11 年之前
父节点
当前提交
1c2ac95d38
共有 1 个文件被更改,包括 2 次插入2 次删除
  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