Browse Source

Fixed interface init values not being set correctly.

woollybah 11 years ago
parent
commit
422d7780e7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iparser.bmx

+ 2 - 2
iparser.bmx

@@ -948,12 +948,12 @@ End Rem
 					
 					If ty = TType.stringType
 						If CParse("$") Then
-					init = ParseUnaryExpr()
+							decl.declInit = ParseUnaryExpr()
 '							decl.init=New TConstExpr.Create(ty, ParseStringLit())
 						End If
 					Else
 						' a default value ?
-						decl.init = ParseUnaryExpr()
+						decl.declInit = ParseUnaryExpr()
 '					Local value:String
 						
 						'_toker.NextToke()