mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 18:49:14 +02:00
The sources of the Free Pascal compiler, RTL, packages and utilities.
See https://www.freepascal.org/ for more info.
![]() * globtype.pas: tmsgstate updated (ms_on/off/error_global variants added). ms_local_mask, ms_global_mask : new constants. tmessagestaterecord: new record, use to list chains of local changes to warnings by $WARN directive. pmessagestaterecord: new pointer to tmessagestaterecord. * globals.pas: tsettings record: new field: pmessage of type pmessagestaterecord; * cmsgs.pas: TMessage class: New method: ResetStates; Called on unit parsing changes New Method: SetVerbosity(nr:longint;newstate:tmsgstate):boolean; Remember global state in replacing ClearVerbosity method. New boolean field: has_local_changes set if a call to SetVerbosity makes a local change that must be reset when changing unit. * verbose.pas: New functions/procedures: function SetMessageVerbosity(v:longint;state:tmsgstate):boolean; for changes caused by $WARN or option procedure RestoreLocalVerbosity(pstate : pmessagestaterecord); procedure FreeLocalVerbosity(var fstate : pmessagestaterecord); function ChangeMessageVerbosity(s: string; var i: integer;state:tmsgstate): boolean; * switches.pas: Implement recordpendingmessagestate flushpendingswitchesstate: Handle new pmessage field of current_settings record. * parser.pas: Handle pmessage field of current_settings. * scandir.pas: Handle also integer constants in $WARN. git-svn-id: trunk@17852 - |
||
---|---|---|
compiler | ||
ide | ||
installer | ||
packages | ||
rtl | ||
tests | ||
utils | ||
.gitattributes | ||
.gitignore | ||
Makefile | ||
Makefile.fpc |