Przeglądaj źródła

* for variant dispatch calls, use the parameter name in source case, not upper case

git-svn-id: trunk@49480 -
svenbarth 4 lat temu
rodzic
commit
6e4984184b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      compiler/pexpr.pas

+ 1 - 1
compiler/pexpr.pas

@@ -2989,7 +2989,7 @@ implementation
                   (token=_ASSIGNMENT) then
                   (token=_ASSIGNMENT) then
                   begin
                   begin
                     found_arg_name:=true;
                     found_arg_name:=true;
-                    p1:=cstringconstnode.createstr(storedpattern);
+                    p1:=cstringconstnode.createstr(orgstoredpattern);
                     consume(_ASSIGNMENT);
                     consume(_ASSIGNMENT);
                     exit;
                     exit;
                   end;
                   end;