mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 07:09:23 +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
|
if bs in FReadOnlyBoolSwitches then
|
||||||
begin
|
begin
|
||||||
DoLog(mtWarning,nWarnIllegalCompilerDirectiveX,sWarnIllegalCompilerDirectiveX,
|
DoLog(mtWarning,nWarnIllegalCompilerDirectiveX,sWarnIllegalCompilerDirectiveX,
|
||||||
[Letter]);
|
[Letter+BoolToStr(Enable,'+','-')]);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
if Enable then
|
if Enable then
|
||||||
|
Loading…
Reference in New Issue
Block a user