mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:09:32 +02:00
fcl-passrc: nicer warning on readonly letter switch
git-svn-id: trunk@39127 -
This commit is contained in:
parent
a452e2dd5f
commit
414653eac6
@ -3220,7 +3220,7 @@ begin
|
||||
if bs in FReadOnlyBoolSwitches then
|
||||
begin
|
||||
DoLog(mtWarning,nWarnIllegalCompilerDirectiveX,sWarnIllegalCompilerDirectiveX,
|
||||
[Letter]);
|
||||
[Letter+BoolToStr(Enable,'+','-')]);
|
||||
exit;
|
||||
end;
|
||||
if Enable then
|
||||
|
Loading…
Reference in New Issue
Block a user