Răsfoiți Sursa

* 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 9 luni în urmă
părinte
comite
1388e2af5b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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);