fcl-passrc: nicer warning on readonly letter switch

git-svn-id: trunk@39127 -
This commit is contained in:
Mattias Gaertner 2018-05-28 06:29:08 +00:00
parent a452e2dd5f
commit 414653eac6

View File

@ -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