Forráskód Böngészése

+ write the module description as the first entry to the nonresident names table

git-svn-id: trunk@42631 -
nickysn 6 éve
szülő
commit
90a164bcda
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      compiler/ogomf.pas

+ 2 - 0
compiler/ogomf.pas

@@ -4303,6 +4303,8 @@ cleanup:
 
         { the first entry in the resident-name table is the module name }
         TNewExeExportNameTableEntry.Create(ResidentNameTable,ExtractModuleName(current_module.exefilename),0);
+        { the first entry in the nonresident-name table is the module description }
+        TNewExeExportNameTableEntry.Create(NonresidentNameTable,description,0);
 
         FillImportedNameAndModuleReferenceTable;
         ImportedNameTable.CalcTableOffsets;