Browse Source

fcl-passrc: nicer warning on readonly letter switch

git-svn-id: trunk@39127 -
Mattias Gaertner 7 years ago
parent
commit
414653eac6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-passrc/src/pscanner.pp

+ 1 - 1
packages/fcl-passrc/src/pscanner.pp

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