Sfoglia il codice sorgente

compiler: remove big codepage maps from the compiler executable - they will be loaded from -FM path when needed

git-svn-id: trunk@26388 -
paul 11 anni fa
parent
commit
f9c3c598b6
1 ha cambiato i file con 11 aggiunte e 5 eliminazioni
  1. 11 5
      compiler/widestr.pas

+ 11 - 5
compiler/widestr.pas

@@ -68,11 +68,17 @@ unit widestr;
 
     uses
       {$if FPC_FULLVERSION>20700}
-      { the majority of character maps can be loaded by
-        compiler from binary file from the directory passed 
-        by -FM compiler switch                              }
-      // cp8859_1,cp437,
-      cpall, // disable this when dynamic charset loading is ready
+      { use only small codepage maps, others will be }
+      { loaded on demand from -FM path               }
+
+      { cyrillic code pages }
+      cp1251,cp866,cp8859_5,
+      { greek code page }
+      cp1253,
+      { other code pages }
+      cp8859_1,cp850,cp437,cp1252,cp646,
+      cp874, cp856,
+      cp1250,cp1254,cp1255,cp1256,cp1257,cp1258,
       {$endif}
       globals,cutils;