Browse Source

* fixed type of resourcestrings in typed constants

git-svn-id: trunk@32467 -
Jonas Maebe 9 years ago
parent
commit
f37576cf0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/aasmcnst.pas

+ 1 - 1
compiler/aasmcnst.pas

@@ -1765,7 +1765,7 @@ implementation
              resourcestrrec:=trecorddef(search_system_type('TRESOURCESTRINGRECORD').typedef);
              resourcestrrec:=trecorddef(search_system_type('TRESOURCESTRINGRECORD').typedef);
              queue_subscriptn_multiple_by_name(resourcestrrec,['CURRENTVALUE']);
              queue_subscriptn_multiple_by_name(resourcestrrec,['CURRENTVALUE']);
              queue_emit_asmsym(current_asmdata.RefAsmSymbol(
              queue_emit_asmsym(current_asmdata.RefAsmSymbol(
-               make_mangledname('RESSTR',cs.owner,cs.name),AT_DATA),cansistringtype
+               make_mangledname('RESSTR',cs.owner,cs.name),AT_DATA),resourcestrrec
              );
              );
            end;
            end;
          { can these occur? }
          { can these occur? }