mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 20:09:18 +02:00
* 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:
parent
84de6a0049
commit
d6e8375e64
@ -1964,6 +1964,7 @@ begin
|
||||
'd' :
|
||||
begin
|
||||
l:=Pos(':=',more);
|
||||
DefaultReplacements(more);
|
||||
if l>0 then
|
||||
hs:=copy(more,1,l-1)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user