mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 21:48:35 +02:00
* 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
This commit is contained in:
parent
9a2d0e0692
commit
1388e2af5b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user