* apply default replacements also to defines set by -d:

- -d with $ is not possible so this should not break any existing compiler call
      - this fixes also the strange error message "Error: malformed parameter: -dlinux"
        when e.g. -d$FPCOS is passed as the default replacements are applied to the
        error message
This commit is contained in:
florian 2022-08-19 22:28:08 +02:00
parent 84de6a0049
commit d6e8375e64

View File

@ -1964,6 +1964,7 @@ begin
'd' :
begin
l:=Pos(':=',more);
DefaultReplacements(more);
if l>0 then
hs:=copy(more,1,l-1)
else