anchor.diff:        end;
   
         if FileExists(fn_lexmap) then
  -        CopyFile(fn_lexmap, DirLexers+DirectorySeparator+ExtractFileName(fn_lexmap))
  +      begin
  +        fn_lexmap_final:= DirLexers+DirectorySeparator+ExtractFileName(fn_lexmap);
  +        CopyFile(fn_lexmap, fn_lexmap_final);
  +      end
         else
           AReport:= AReport+msgStatusPackageMissedLexerMap+#10;
   
  
positive.code: var
    i_sub: integer;
    ini_section,
    s_lexer, fn_lexer, fn_acp, fn_lexmap, fn_json: string;
    an, an_sub: TecSyntAnalyzer;
    ini_file, ini_lexmap: TIniFile;
    sections: TStringList;
  
negative.code:       begin
          s_lexer:= ini_file.ReadString(ini_section, 'link'+Inttostr(i_sub+1), '');
          if s_lexer='' then Continue;
  
          {
          //write [ref] section in cuda-lexmap
          ini_lexmap:= TIniFile.Create(fn_lexmap_final);
          try
            ini_lexmap.WriteString('ref', IntToStr(i_sub), s_lexer);
          finally
            FreeAndNil(ini_lexmap);
          end;
          }
  
          an_sub:= AppManager.FindLexerByName(s_lexer);
          if an_sub<>nil then
  