Ver Fonte

* don't use tmessage.setverbosity() to check whether the message is valid as it should only be applied when the switches are flushed, so use the new tmessage.valid() instead

Sven/Sarah Barth há 7 meses atrás
pai
commit
1388e2af5b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      compiler/verbose.pas

+ 1 - 1
compiler/verbose.pas

@@ -211,7 +211,7 @@ implementation
           val(tok, msgnr, code);
           if (code<>0) then
             exit;
-          if not msg^.setverbosity(msgnr,state) then
+          if not msg^.valid(msgnr) then
             exit
           else
             recordpendingmessagestate(msgnr, state);