Browse Source

Include generation of global metadata. Resolves #624.

Brucey 2 năm trước cách đây
mục cha
commit
1ae2fa0ebd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ctranslator.bmx

+ 1 - 1
ctranslator.bmx

@@ -4391,7 +4391,7 @@ End Rem
 		Emit "{"
 		Emit "{"
 		Emit "BBDEBUGDECL_GLOBAL,"
 		Emit "BBDEBUGDECL_GLOBAL,"
 		Emit Enquote(decl.ident) + ","
 		Emit Enquote(decl.ident) + ","
-		Emit Enquote(TransDebugScopeType(decl.ty)) + ","
+		Emit Enquote(TransDebugScopeType(decl.ty) + TransDebugMetaData(decl.metadata.metadataString)) + ","
 		If decl.IsThreaded() Then
 		If decl.IsThreaded() Then
 			Emit ".var_address=0"
 			Emit ".var_address=0"
 			decl.scopeIndex = scopeIndex
 			decl.scopeIndex = scopeIndex